From owner-dev-commits-ports-main@freebsd.org Sun Aug 8 22:04:18 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F4063664A21; Sun, 8 Aug 2021 22:04:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjYCP3Dyjz4RKf; Sun, 8 Aug 2021 22:04:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 428181C53B; Sun, 8 Aug 2021 22:04:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 178M4HbX010947; Sun, 8 Aug 2021 22:04:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 178M4HOl010946; Sun, 8 Aug 2021 22:04:17 GMT (envelope-from git) Date: Sun, 8 Aug 2021 22:04:17 GMT Message-Id: <202108082204.178M4HOl010946@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e2e981e5f4e0 - main - textproc/pdfoutline: Install pdf-extract-outline MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2e981e5f4e0c7e780b8fc4d9488a33da292c8a7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2021 22:04:18 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2e981e5f4e0c7e780b8fc4d9488a33da292c8a7 commit e2e981e5f4e0c7e780b8fc4d9488a33da292c8a7 Author: Po-Chuan Hsieh AuthorDate: 2021-08-08 21:35:51 +0000 Commit: Po-Chuan Hsieh 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 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