aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
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