aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ledit/Makefile7
-rw-r--r--sysutils/ledit/pkg-plist5
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/ledit/Makefile b/sysutils/ledit/Makefile
index 65914bda42a7..1a40aeb149d6 100644
--- a/sysutils/ledit/Makefile
+++ b/sysutils/ledit/Makefile
@@ -22,10 +22,6 @@ USE_OCAML= yes
ALL_TARGET= all ledit.opt
MAKE_JOBS_UNSAFE= yes
-PLIST_FILES= bin/ledit \
- man/man1/ledit.1.gz
-PORTDOCS= CHANGES README
-
OPTIONS_DEFINE= DOCS
do-configure:
@@ -37,6 +33,7 @@ do-configure:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ledit
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/sysutils/ledit/pkg-plist b/sysutils/ledit/pkg-plist
new file mode 100644
index 000000000000..468d926d9219
--- /dev/null
+++ b/sysutils/ledit/pkg-plist
@@ -0,0 +1,5 @@
+bin/ledit
+man/man1/ledit.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%