Index: head/textproc/pdfoutline/Makefile =================================================================== --- head/textproc/pdfoutline/Makefile (revision 490589) +++ head/textproc/pdfoutline/Makefile (revision 490590) @@ -1,37 +1,42 @@ # Created by: Andrew Pantyukhin # $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 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 Index: head/textproc/pdfoutline/distinfo =================================================================== --- head/textproc/pdfoutline/distinfo (revision 490589) +++ head/textproc/pdfoutline/distinfo (revision 490590) @@ -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 Index: head/textproc/pdfoutline/pkg-descr =================================================================== --- head/textproc/pdfoutline/pkg-descr (revision 490589) +++ head/textproc/pdfoutline/pkg-descr (revision 490590) @@ -1,5 +1,5 @@ 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