summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2008-12-31 11:59:25 +0000
committerDoug Barton <dougb@FreeBSD.org>2008-12-31 11:59:25 +0000
commit3b36010c1a734669d1fb13360772b996ccfd5fd3 (patch)
tree0a7448a7d3ac5257da52dac35a2477acde9a4eab /x11-wm
parentTinderbox found out that I forgot to add USE_PERL5, which is used in the (diff)
Add support for PORTDOCS
Notes
Notes: svn path=/head/; revision=225053
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/windowmaker/Makefile7
-rw-r--r--x11-wm/windowmaker/pkg-plist11
2 files changed, 18 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 1817b6ce43e1..195bf962988a 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -89,6 +89,13 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/AUTHORS ${WRKSRC}/BUGFORM ${WRKSRC}/BUGS \
+ ${WRKSRC}/ChangeLog ${WRKSRC}/FAQ ${WRKSRC}/INSTALL \
+ ${WRKSRC}/NEWS ${WRKSRC}/README \
+ ${WRKSRC}/README.definable-cursor ${WRKSRC}/TODO ${DOCSDIR}/
+.endif
update-LINGUAS: extract
cd ${WRKSRC}/po && \
diff --git a/x11-wm/windowmaker/pkg-plist b/x11-wm/windowmaker/pkg-plist
index c45549b7d5ea..2ff6ea09ccb0 100644
--- a/x11-wm/windowmaker/pkg-plist
+++ b/x11-wm/windowmaker/pkg-plist
@@ -328,6 +328,17 @@ share/WindowMaker/xtree.dat
%%WM_LINGUAS%%share/locale/zh_CN/LC_MESSAGES/WindowMaker.mo
%%WM_LINGUAS%%share/locale/zh_TW/LC_MESSAGES/WPrefs.mo
%%WM_LINGUAS%%share/locale/zh_TW/LC_MESSAGES/WindowMaker.mo
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGFORM
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.definable-cursor
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec mkdir -p %D/GNUstep/Applications/WPrefs.app/xpm
@exec mkdir -p %D/share/WindowMaker/Sounds
@dirrm GNUstep/Applications/WPrefs.app/tiff