aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2008-12-31 19:59:25 +0800
committerdougb <dougb@FreeBSD.org>2008-12-31 19:59:25 +0800
commit8ca0b418d2f626249894f676108fa15b3d12bb40 (patch)
tree6be4e7cdaf4e45f6479f22e8f1deab9980a473c9 /x11-wm
parent1f592982d8ba1f419730f0edddfa0c4986512436 (diff)
downloadfreebsd-ports-gnome-8ca0b418d2f626249894f676108fa15b3d12bb40.tar.gz
freebsd-ports-gnome-8ca0b418d2f626249894f676108fa15b3d12bb40.tar.zst
freebsd-ports-gnome-8ca0b418d2f626249894f676108fa15b3d12bb40.zip
Add support for PORTDOCS
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