aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-23 17:27:45 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-23 17:27:45 +0000
commitb7371c6f3ae27305719c9ac5a77b7a952f084882 (patch)
tree33035b2510f1dd144cb7efb606c85100d10ce753 /x11-fm
parentadfd5ff1c7f41c9aa9e477f9c65d37ba2dc5d6d8 (diff)
downloadports-b7371c6f3ae27305719c9ac5a77b7a952f084882.tar.gz
ports-b7371c6f3ae27305719c9ac5a77b7a952f084882.zip
Notes
Diffstat (limited to 'x11-fm')
-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