aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmmenu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wmmenu/Makefile')
-rw-r--r--x11/wmmenu/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11/wmmenu/Makefile b/x11/wmmenu/Makefile
index 5d9c653902a8..32ba0d4f6033 100644
--- a/x11/wmmenu/Makefile
+++ b/x11/wmmenu/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= wmmenu
-PORTVERSION= 0.9
+PORTVERSION= 1.2
CATEGORIES= x11 gnome
MASTER_SITES= http://www.fcoutant.freesurf.fr/download/
@@ -23,18 +23,17 @@ USE_GMAKE= yes
MAN1= wmmenu.1
post-patch:
- @ ${MV} ${WRKSRC}/example/defaults ${WRKSRC}/example/defaults.presed
- @ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults.presed \
+ @${MV} ${WRKSRC}/example/defaults ${WRKSRC}/example/defaults.presed
+ @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults.presed \
> ${WRKSRC}/example/defaults
post-install:
.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
+ ${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/doc/wmmenu/apps.sample
+ ${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/doc/wmmenu/defaults.sample
.endif
- @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE}
+ @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE} | ${SED} -e 's#%%PORTNAME%%#${PORTNAME}#g'
.include <bsd.port.mk>