aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-03 23:03:04 +0800
committerantoine <antoine@FreeBSD.org>2014-09-03 23:03:04 +0800
commitd8752f503cebad6b8f477ebe9063cf7e7626220a (patch)
treef001bbbc26654110b97c76846e0cdad3e5c927a3 /sysutils
parent8a1c1ec91c647753ef77df1eb9982dfae72b08ae (diff)
downloadfreebsd-ports-gnome-d8752f503cebad6b8f477ebe9063cf7e7626220a.tar.gz
freebsd-ports-gnome-d8752f503cebad6b8f477ebe9063cf7e7626220a.tar.zst
freebsd-ports-gnome-d8752f503cebad6b8f477ebe9063cf7e7626220a.zip
Fix packaging
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%%