summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2013-09-25 00:37:36 +0000
committergarga <garga@FreeBSD.org>2013-09-25 00:37:36 +0000
commitdd6f2d54fcc57f2ed4c9eabfae54aa2399c1d6c2 (patch)
tree07bb16960788f2e45c6a9392747b2e06488e8411
parent7eada6cdb6d7ef30aa402b3db5383d78870b23e9 (diff)
downloadFreeBSD-ports-dd6f2d54fcc57f2ed4c9eabfae54aa2399c1d6c2.zip
FreeBSD-ports-dd6f2d54fcc57f2ed4c9eabfae54aa2399c1d6c2.tar.gz
Support staging
-rw-r--r--converters/tnef/Makefile10
-rw-r--r--converters/tnef/pkg-plist8
2 files changed, 11 insertions, 7 deletions
diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile
index 3a438d8..1d368e2 100644
--- a/converters/tnef/Makefile
+++ b/converters/tnef/Makefile
@@ -13,17 +13,13 @@ OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
-MAN1= tnef.1
-PORTDOCS= AUTHORS NEWS README THANKS TODO
-PLIST_FILES= bin/tnef
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README THANKS TODO \
+ ${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
new file mode 100644
index 0000000..f5ed225
--- /dev/null
+++ b/converters/tnef/pkg-plist
@@ -0,0 +1,8 @@
+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%%
OpenPOWER on IntegriCloud