summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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