Date: Sun, 8 Aug 2021 22:04:17 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e2e981e5f4e0 - main - textproc/pdfoutline: Install pdf-extract-outline Message-ID: <202108082204.178M4HOl010946@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2e981e5f4e0c7e780b8fc4d9488a33da292c8a7 commit e2e981e5f4e0c7e780b8fc4d9488a33da292c8a7 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-08-08 21:35:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-08-08 21:43:51 +0000 textproc/pdfoutline: Install pdf-extract-outline - Bump PORTREVISION for package change --- textproc/pdfoutline/Makefile | 16 ++++++++-------- textproc/pdfoutline/pkg-plist | 4 ++++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/textproc/pdfoutline/Makefile b/textproc/pdfoutline/Makefile index 62d49a36a338..cc1111874c14 100644 --- a/textproc/pdfoutline/Makefile +++ b/textproc/pdfoutline/Makefile @@ -3,6 +3,7 @@ PORTNAME= pdfoutline PORTVERSION= 5.4 DISTVERSIONPREFIX= release/ +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= sunpoet@FreeBSD.org @@ -21,21 +22,20 @@ USE_PERL5= run NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= bin/pdfoutline \ - share/man/man1/pdfoutline.1.gz - GH_ACCOUNT= eugmes GH_PROJECT= fntsample USE_GITHUB= yes -SHEBANG_FILES= scripts/pdfoutline.pl +SHEBANG_FILES= scripts/*.pl post-patch: - @${SED} -e 's|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_INSTALL_FULL_LOCALEDIR@|${LOCALBASE}/share/locale|' ${WRKSRC}/scripts/pdfoutline.pl > ${WRKSRC}/pdfoutline - @${SED} -e 's|@DATE@|2021-08-01|; s|@CMAKE_PROJECT_VERSION@|${PORTVERSION}|; s|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_PROJECT_HOMEPAGE_URL@|https://github.com/eugmes/fntsample|' ${WRKSRC}/scripts/pdfoutline.1.in > ${WRKSRC}/pdfoutline.1 +.for file in pdf-extract-outline pdfoutline + @${SED} -e 's|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_INSTALL_FULL_LOCALEDIR@|${LOCALBASE}/share/locale|' ${WRKSRC}/scripts/${file}.pl > ${WRKSRC}/${file} + @${SED} -e 's|@DATE@|2021-08-01|; s|@CMAKE_PROJECT_VERSION@|${PORTVERSION}|; s|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_PROJECT_HOMEPAGE_URL@|https://github.com/eugmes/fntsample|' ${WRKSRC}/scripts/${file}.1.in > ${WRKSRC}/${file}.1 +.endfor do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pdfoutline ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/pdfoutline.1 ${STAGEDIR}${PREFIX}/share/man/man1/ + ${INSTALL_SCRIPT} ${WRKSRC}/pdf-extract-outline ${WRKSRC}/pdfoutline ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/pdf-extract-outline.1 ${WRKSRC}/pdfoutline.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include <bsd.port.mk> diff --git a/textproc/pdfoutline/pkg-plist b/textproc/pdfoutline/pkg-plist new file mode 100644 index 000000000000..7f6541915405 --- /dev/null +++ b/textproc/pdfoutline/pkg-plist @@ -0,0 +1,4 @@ +bin/pdf-extract-outline +bin/pdfoutline +share/man/man1/pdf-extract-outline.1.gz +share/man/man1/pdfoutline.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108082204.178M4HOl010946>