Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2021 06:06:49 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: d3072779fe8d - main - archivers/cabextract: Convert PLIST_FILES and PORTDOCS to PLIST entries
Message-ID:  <202109190606.18J66nAl052427@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=d3072779fe8d343040005b31db2575d9af793d98

commit d3072779fe8d343040005b31db2575d9af793d98
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-19 05:27:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-19 05:59:39 +0000

    archivers/cabextract: Convert PLIST_FILES and PORTDOCS to PLIST entries
---
 archivers/cabextract/Makefile  |  9 ++-------
 archivers/cabextract/pkg-plist | 12 ++++++++++++
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile
index ee8b63e51dbd..fd11e3e1e650 100644
--- a/archivers/cabextract/Makefile
+++ b/archivers/cabextract/Makefile
@@ -14,14 +14,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cpe iconv
 
-CPE_VENDOR=	cabextract_project
-
 GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/cabextract \
-		man/ja/man1/cabextract.1.gz \
-		man/man1/cabextract.1.gz
-PORTDOCS=	${DOCS:T}
+CPE_VENDOR=	cabextract_project
 
 DOCS=		AUTHORS ChangeLog NEWS README TODO \
 		doc/magic doc/wince_cab_format.html \
@@ -30,7 +25,7 @@ DOCS=		AUTHORS ChangeLog NEWS README TODO \
 OPTIONS_DEFINE=	DOCS
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${STAGEDIR}${MAN1PREFIX}/man/ja/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${STAGEDIR}${PREFIX}/man/ja/man1
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/archivers/cabextract/pkg-plist b/archivers/cabextract/pkg-plist
new file mode 100644
index 000000000000..9e41aaa15b6c
--- /dev/null
+++ b/archivers/cabextract/pkg-plist
@@ -0,0 +1,12 @@
+bin/cabextract
+man/ja/man1/cabextract.1.gz
+man/man1/cabextract.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/magic
+%%PORTDOCS%%%%DOCSDIR%%/wince_cab_format.html
+%%PORTDOCS%%%%DOCSDIR%%/wince_info
+%%PORTDOCS%%%%DOCSDIR%%/wince_rename



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109190606.18J66nAl052427>