Update to 5.3

- Update MASTER_SITES
- Update WWW

Changes:	https://github.com/eugmes/fntsample/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-01-17 19:21:47 +00:00
parent 26b0ceb6f2
commit b8c1fa861d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490590
3 changed files with 23 additions and 17 deletions

View file

@ -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@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
PLIST_FILES= bin/pdfoutline \
man/man1/pdfoutline.1.gz
GH_ACCOUNT= eugmes
GH_PROJECT= fntsample
USE_GITHUB= yes
SHEBANG_FILES= pdfoutline.pl
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
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>

View file

@ -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

View file

@ -2,4 +2,4 @@ pdfoutline adds outlines (aka bookmarks) to PDF files. It reads input file given
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