diff options
-rw-r--r-- | x11/wmmsg/Makefile | 7 | ||||
-rw-r--r-- | x11/wmmsg/pkg-plist | 2 |
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%% |