From 7f688935976350ea5e3a91617eda4e765ea815ae Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Tue, 26 Jun 2001 16:22:36 +0000 Subject: - Add NOPORTDOCS support - Update to version 0.8 PR: 28235 Submitted by: Patrick Li Approved by: maintainer --- x11/wmmenu/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11/wmmenu/Makefile') diff --git a/x11/wmmenu/Makefile b/x11/wmmenu/Makefile index eca1f03dc50f..0277343a4082 100644 --- a/x11/wmmenu/Makefile +++ b/x11/wmmenu/Makefile @@ -6,8 +6,7 @@ # PORTNAME= wmmenu -PORTVERSION= 0.4 -PORTREVISION= 1 +PORTVERSION= 0.8 CATEGORIES= x11 gnome MASTER_SITES= http://www.fcoutant.freesurf.fr/download/ @@ -27,11 +26,13 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmmenu ${PREFIX}/bin +.ifndef(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/wmmenu ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu ${MKDIR} ${PREFIX}/share/doc/wmmenu/example ${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/doc/wmmenu/example ${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/doc/wmmenu/example +.endif post-install: @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE} -- cgit v1.2.3