summaryrefslogtreecommitdiffstats
path: root/x11-wm/wmanager
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerpat <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commit7b58bb9dae47ea8f4187f1ca01d041c1deab5487 (patch)
tree438ff2856c8402cd6a8f17e494e72efbac6546bf /x11-wm/wmanager
parentd53c5acbf7b9968c33e74481b4e41ab6b1e0d413 (diff)
downloadFreeBSD-ports-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.zip
FreeBSD-ports-7b58bb9dae47ea8f4187f1ca01d041c1deab5487.tar.gz
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Diffstat (limited to 'x11-wm/wmanager')
-rw-r--r--x11-wm/wmanager/Makefile21
-rw-r--r--x11-wm/wmanager/pkg-plist19
2 files changed, 22 insertions, 18 deletions
diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile
index 6fc84aa..ff1f215 100644
--- a/x11-wm/wmanager/Makefile
+++ b/x11-wm/wmanager/Makefile
@@ -27,17 +27,20 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/wmanager
- ${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${PREFIX}/share/wmanager/wmanagerrc_sample
- ${INSTALL_DATA} ${WRKSRC}/.xinitrc ${PREFIX}/share/wmanager/xinitrc_sample
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/.wmanagerrc \
+ ${PREFIX}/share/examples/${PORTNAME}/wmanagerrc_sample
+ @${INSTALL_DATA} ${WRKSRC}/.xinitrc \
+ ${PREFIX}/share/examples/${PORTNAME}/xinitrc_sample
.for file in FAQ HISTORY INSTALL NEWS README TODO
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/wmanager
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
- @${ECHO}
- @${ECHO} "Docs have been installed in ${PREFIX}/share/wmanager/."
- @${ECHO} "You are advised to have a look at the sample .wmanagerrc"
- @${ECHO} "and .xinitrc's available there."
- @${ECHO}
+ @${ECHO} ""
+ @${ECHO} "Examples of .xinitrc and .wmanagerrc have been installed"
+ @${ECHO} "in ${PREFIX}/share/examples/${PORTNAME} and docs have"
+ @${ECHO} "been installed to ${DOCSDIR}."
+ @${ECHO} ""
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/wmanager/pkg-plist b/x11-wm/wmanager/pkg-plist
index ad086ee..431808f 100644
--- a/x11-wm/wmanager/pkg-plist
+++ b/x11-wm/wmanager/pkg-plist
@@ -1,10 +1,11 @@
bin/wmanager
-share/wmanager/wmanagerrc_sample
-share/wmanager/xinitrc_sample
-share/wmanager/FAQ
-share/wmanager/HISTORY
-share/wmanager/INSTALL
-share/wmanager/NEWS
-share/wmanager/README
-share/wmanager/TODO
-@dirrm share/wmanager
+%%PORTDOCS%%share/doc/wmanager/FAQ
+%%PORTDOCS%%share/doc/wmanager/HISTORY
+%%PORTDOCS%%share/doc/wmanager/INSTALL
+%%PORTDOCS%%share/doc/wmanager/NEWS
+%%PORTDOCS%%share/doc/wmanager/README
+%%PORTDOCS%%share/doc/wmanager/TODO
+%%PORTDOCS%%share/examples/wmanager/wmanagerrc_sample
+%%PORTDOCS%%share/examples/wmanager/xinitrc_sample
+%%PORTDOCS%%@dirrm share/examples/wmanager
+%%PORTDOCS%%@dirrm share/doc/wmanager
OpenPOWER on IntegriCloud