summaryrefslogtreecommitdiff
path: root/x11/wmmsg
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-06-12 11:31:27 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-06-12 11:31:27 +0000
commit19a402495c9d0b7bfc1c39ec61e8018eeaae1222 (patch)
tree55292580dea931ce93f401656faed3b56372ff5b /x11/wmmsg
parentUpdate to 1.7rc3. (diff)
install wmmsg.dist
PR: 67746 Submitted By: maintainer
Notes
Notes: svn path=/head/; revision=111329
Diffstat (limited to 'x11/wmmsg')
-rw-r--r--x11/wmmsg/Makefile7
-rw-r--r--x11/wmmsg/pkg-plist2
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/wmmsg/Makefile b/x11/wmmsg/Makefile
index 97fcba8f1a8e..ff600fcab6a3 100644
--- a/x11/wmmsg/Makefile
+++ b/x11/wmmsg/Makefile
@@ -35,4 +35,11 @@ post-patch:
${WRKSRC}/src/wmmsg/wmmsg.c
@${REINPLACE_CMD} -e 's| man\/wmmsg_notify\.1||g' ${WRKSRC}/Makefile.in
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${ECHO_MSG} "===> Installing wmmsgrc.dist to ${DOCSDIR}"
+ @${INSTALL_DATA} ${WRKSRC}/wmmsgrc ${DOCSDIR}/wmmsgrc.dist
+.endif
+
.include <bsd.port.mk>
diff --git a/x11/wmmsg/pkg-plist b/x11/wmmsg/pkg-plist
index f733c1477017..b1011693ddce 100644
--- a/x11/wmmsg/pkg-plist
+++ b/x11/wmmsg/pkg-plist
@@ -1,2 +1,4 @@
bin/wmmsg
bin/wmmsg_notify
+%%PORTDOCS%%%%DOCSDIR%%/wmmsgrc.dist
+%%PORTDOCS%%@dirrm %%DOCSDIR%%