svn commit: r490590 - head/textproc/pdfoutline
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jan 17 19:21:52 UTC 2019
Author: sunpoet
Date: Thu Jan 17 19:21:47 2019
New Revision: 490590
URL: https://svnweb.freebsd.org/changeset/ports/490590
Log:
Update to 5.3
- Update MASTER_SITES
- Update WWW
Changes: https://github.com/eugmes/fntsample/releases
Modified:
head/textproc/pdfoutline/Makefile
head/textproc/pdfoutline/distinfo
head/textproc/pdfoutline/pkg-descr
Modified: head/textproc/pdfoutline/Makefile
==============================================================================
--- head/textproc/pdfoutline/Makefile Thu Jan 17 19:21:42 2019 (r490589)
+++ head/textproc/pdfoutline/Makefile Thu Jan 17 19:21:47 2019 (r490590)
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= pdfoutline
-PORTVERSION= 4.1
+PORTVERSION= 5.3
+DISTVERSIONPREFIX= release/
CATEGORIES= textproc
-MASTER_SITES= SF/fntsample/fntsample/${PORTVERSION}
-DISTNAME= fntsample-${PORTVERSION}
MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Add outlines to PDF files
@@ -13,25 +12,31 @@ COMMENT= Add outlines to PDF files
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl \
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl \
p5-PDF-API2>=0:textproc/p5-PDF-API2
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+USES= perl5 shebangfix
+USE_PERL5= run
+
NO_ARCH= yes
NO_BUILD= yes
-USE_PERL5= run
-USES= perl5 pkgconfig shebangfix
-SHEBANG_FILES= pdfoutline.pl
-PLIST_FILES= bin/${PORTNAME} \
- man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/pdfoutline \
+ man/man1/pdfoutline.1.gz
+GH_ACCOUNT= eugmes
+GH_PROJECT= fntsample
+USE_GITHUB= yes
+
+SHEBANG_FILES= pdfoutline.pl
+
post-patch:
- @${SED} -e 's|##PACKAGE##|fntsample|g; s|##LOCALEDIR##|${LOCALBASE}/share/locale|g' ${WRKSRC}/${PORTNAME}.pl > ${WRKSRC}/${PORTNAME}
- @${SED} -e 's|@DATE@|2010-07-12|g' ${WRKSRC}/${PORTNAME}.1.in > ${WRKSRC}/${PORTNAME}.1
+ @${SED} -e 's|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_INSTALL_FULL_LOCALEDIR@|${LOCALBASE}/share/locale|' ${WRKSRC}/pdfoutline.pl > ${WRKSRC}/pdfoutline
+ @${SED} -e 's|@DATE@|2018-12-26|' ${WRKSRC}/pdfoutline.1.in > ${WRKSRC}/pdfoutline.1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/pdfoutline ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/pdfoutline.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>
Modified: head/textproc/pdfoutline/distinfo
==============================================================================
--- head/textproc/pdfoutline/distinfo Thu Jan 17 19:21:42 2019 (r490589)
+++ head/textproc/pdfoutline/distinfo Thu Jan 17 19:21:47 2019 (r490590)
@@ -1,2 +1,3 @@
-SHA256 (fntsample-4.1.tar.gz) = 1824f7e452b56671cf451819a46af70db549213e5c189e6b3cda273cd05e2411
-SIZE (fntsample-4.1.tar.gz) = 190420
+TIMESTAMP = 1547659141
+SHA256 (eugmes-fntsample-release-5.3_GH0.tar.gz) = e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b
+SIZE (eugmes-fntsample-release-5.3_GH0.tar.gz) = 56508
Modified: head/textproc/pdfoutline/pkg-descr
==============================================================================
--- head/textproc/pdfoutline/pkg-descr Thu Jan 17 19:21:42 2019 (r490589)
+++ head/textproc/pdfoutline/pkg-descr Thu Jan 17 19:21:47 2019 (r490590)
@@ -2,4 +2,4 @@ pdfoutline adds outlines (aka bookmarks) to PDF files.
as first argument, adds outlines from text file given as second argument, and
saves result to file with name given as third argument.
-WWW: http://fntsample.sourceforge.net/
+WWW: https://github.com/eugmes/fntsample
More information about the svn-ports-head
mailing list