aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2013-09-27 22:49:58 +0800
committergarga <garga@FreeBSD.org>2013-09-27 22:49:58 +0800
commit7a590e1cdb30c2f2a7b8cf0776f14ae5e0886c96 (patch)
tree906a42790ae125baf70e3609ce1f69e8c1108b56
parentd3443bc203f230ffbc9717eb1a690f2fcbab6cf4 (diff)
downloadfreebsd-ports-gnome-7a590e1cdb30c2f2a7b8cf0776f14ae5e0886c96.tar.gz
freebsd-ports-gnome-7a590e1cdb30c2f2a7b8cf0776f14ae5e0886c96.tar.zst
freebsd-ports-gnome-7a590e1cdb30c2f2a7b8cf0776f14ae5e0886c96.zip
back to use PORTDOCS
-rw-r--r--converters/tnef/Makefile7
-rw-r--r--converters/tnef/pkg-plist8
2 files changed, 5 insertions, 10 deletions
diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile
index 1d368e2d7e79..72cd5849e5fc 100644
--- a/converters/tnef/Makefile
+++ b/converters/tnef/Makefile
@@ -13,13 +13,16 @@ OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
+PORTDOCS= AUTHORS NEWS README THANKS TODO
+PLIST_FILES= bin/tnef \
+ man/man1/tnef.1.gz
+
.include <bsd.port.pre.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README THANKS TODO \
- ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
# This target is intended to be run by the port maintainer.
diff --git a/converters/tnef/pkg-plist b/converters/tnef/pkg-plist
deleted file mode 100644
index f5ed22530426..000000000000
--- a/converters/tnef/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/tnef
-man/man1/tnef.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%