aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/workplace
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-11-24 01:27:45 +0800
committeritetcu <itetcu@FreeBSD.org>2008-11-24 01:27:45 +0800
commite670db286186ed6b8446b08a35f27712bbff2856 (patch)
treeb472de7970a77433a3919a72b5068ed0e2561cee /x11-fm/workplace
parent44936f43fefbc2a2c96830f8fc411c19e1a50244 (diff)
downloadfreebsd-ports-gnome-e670db286186ed6b8446b08a35f27712bbff2856.tar.gz
freebsd-ports-gnome-e670db286186ed6b8446b08a35f27712bbff2856.tar.zst
freebsd-ports-gnome-e670db286186ed6b8446b08a35f27712bbff2856.zip
- install docs in DOCSDIR and examples in EXAMPLESDIR and respect NO* vars
- fix plist with -DNOPORTDOCS - bump PORTREVISION Prompted by: QAT QA run
Diffstat (limited to 'x11-fm/workplace')
-rw-r--r--x11-fm/workplace/Makefile12
-rw-r--r--x11-fm/workplace/pkg-plist16
2 files changed, 15 insertions, 13 deletions
diff --git a/x11-fm/workplace/Makefile b/x11-fm/workplace/Makefile
index 4bea10066e9a..e67150d6fc3f 100644
--- a/x11-fm/workplace/Makefile
+++ b/x11-fm/workplace/Makefile
@@ -7,7 +7,7 @@
PORTNAME= workplace
PORTVERSION= 1.0.a3
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -32,13 +32,15 @@ do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/src/workplace ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/include/X11/pixmaps
@ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps
- @ ${MKDIR} ${PREFIX}/share/doc/workplace
.if !defined(NOPORTDOCS)
.for file in AUTHORS INSTALL README TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/workplace
+ @ ${MKDIR} ${PREFIX}/share/doc/workplace
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
- @ ${MKDIR} ${PREFIX}/share/examples/workplace
- @ ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/workplace
+.if !defined(NOPORTEXAMPLES)
+ @ ${MKDIR} ${EXAMPLESDIR}
+ @ ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff --git a/x11-fm/workplace/pkg-plist b/x11-fm/workplace/pkg-plist
index 94ce8f7001d3..8fa238b74241 100644
--- a/x11-fm/workplace/pkg-plist
+++ b/x11-fm/workplace/pkg-plist
@@ -61,12 +61,12 @@ include/X11/pixmaps/WWW.xpm
include/X11/pixmaps/Window.xpm
include/X11/pixmaps/Write.xpm
include/X11/pixmaps/WriteMail.xpm
-share/doc/workplace/AUTHORS
-share/doc/workplace/INSTALL
-share/doc/workplace/README
-share/doc/workplace/TODO
-share/examples/workplace/WPPref
-share/examples/workplace/WPSuffix
-@dirrm share/doc/workplace
-@dirrm share/examples/workplace
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WPPref
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/WPSuffix
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry include/X11/pixmaps