git: d3072779fe8d - main - archivers/cabextract: Convert PLIST_FILES and PORTDOCS to PLIST entries
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 19 06:06:50 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d3072779fe8d343040005b31db2575d9af793d98
commit d3072779fe8d343040005b31db2575d9af793d98
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:27:29 +0000
Commit: Po-Chuan Hsieh <sunpoet at 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
More information about the dev-commits-ports-all
mailing list