diff options
-rw-r--r-- | x11-wm/wm2/Makefile | 6 | ||||
-rw-r--r-- | x11-wm/wm2/pkg-plist | 4 |
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%% |