aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wmanager
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commitb666502afda11878e1adfaefeff785ee6171024b (patch)
tree9aa30fd7bf24b32e216a3b9ae394f1a2abdb5bf3 /x11-wm/wmanager
parente1999fb7b6e4ffd7d87627b0fde8985f3adcc1d1 (diff)
downloadports-b666502afda11878e1adfaefeff785ee6171024b.tar.gz
ports-b666502afda11878e1adfaefeff785ee6171024b.zip
Notes
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 6fc84aac5ed7..ff1f21541b27 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 ad086eee851c..431808f20122 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