aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wm2
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 15:19:12 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 15:19:12 +0000
commit507462b6bf197ccce7f14fcaf352c1b7f3d2a466 (patch)
tree5eca5f53022b20b985daf030d1209325c5fe6aec /x11-wm/wm2
parent3d4e276d1b85062cbea67c75dde201d0c114e092 (diff)
downloadports-507462b6bf197ccce7f14fcaf352c1b7f3d2a466.tar.gz
ports-507462b6bf197ccce7f14fcaf352c1b7f3d2a466.zip
Notes
Diffstat (limited to 'x11-wm/wm2')
-rw-r--r--x11-wm/wm2/Makefile6
-rw-r--r--x11-wm/wm2/pkg-plist4
2 files changed, 5 insertions, 5 deletions
diff --git a/x11-wm/wm2/Makefile b/x11-wm/wm2/Makefile
index b4fa98da4b68..9dd59956e0b1 100644
--- a/x11-wm/wm2/Makefile
+++ b/x11-wm/wm2/Makefile
@@ -9,7 +9,7 @@ PORTNAME= wm2
PORTVERSION= 4.0
CATEGORIES= x11-wm
MASTER_SITES= http://www.all-day-breakfast.com/wm2/
-DISTNAME= ${PORTNAME}-4
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= A very simple window manager for X
@@ -20,8 +20,8 @@ ALL_TARGET= depend wm2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wm2 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/wm2
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wm2
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/wm2/pkg-plist b/x11-wm/wm2/pkg-plist
index 86af8cd1cf76..7be070254a5a 100644
--- a/x11-wm/wm2/pkg-plist
+++ b/x11-wm/wm2/pkg-plist
@@ -1,3 +1,3 @@
bin/wm2
-share/doc/wm2/README
-@dirrm share/doc/wm2
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%