diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-22 14:38:06 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-22 14:38:06 +0800 |
commit | fea1f9f282804dc25a2ebaeecd70d791beb83806 (patch) | |
tree | ef61f29f96374b8166e83f97f4c5d9f950e6dcac /x11-wm/pwm/Makefile | |
parent | c7d6bc233b38a44a0882f825844c0f92d8fc5b58 (diff) | |
download | freebsd-ports-gnome-fea1f9f282804dc25a2ebaeecd70d791beb83806.tar.gz freebsd-ports-gnome-fea1f9f282804dc25a2ebaeecd70d791beb83806.tar.zst freebsd-ports-gnome-fea1f9f282804dc25a2ebaeecd70d791beb83806.zip |
Support stage
Use @sample
Diffstat (limited to 'x11-wm/pwm/Makefile')
-rw-r--r-- | x11-wm/pwm/Makefile | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/x11-wm/pwm/Makefile b/x11-wm/pwm/Makefile index 96c6ca72f947..4d2076d68296 100644 --- a/x11-wm/pwm/Makefile +++ b/x11-wm/pwm/Makefile @@ -3,22 +3,19 @@ PORTNAME= pwm PORTVERSION= 2007.07.20 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= http://modeemi.fi/~tuomov/dl/ \ http://schot.a-eskwadraat.nl/files/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} MAINTAINER= schot@a-eskwadraat.nl -COMMENT= A lightweight window manager with emphasis on usability +COMMENT= lightweight window manager with emphasis on usability USE_XORG= x11 USES= gmake MAKE_ENV= X11_PREFIX="${LOCALBASE}" HAS_SYSTEM_ASPRINTF=1 -MAN1= pwm.1x - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|^PREFIX=|PREFIX?=|g ; \ @@ -29,17 +26,12 @@ post-patch: s|-pedantic-errors||g' ${WRKSRC}/system.mk do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pwm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/pwm.1x ${MANPREFIX}/man/man1 - @${MKDIR} ${PREFIX}/etc/pwm - ${INSTALL_DATA} ${WRKSRC}/etc/pwm/*.conf ${PREFIX}/etc/pwm -.if !exists(${PREFIX}/etc/pwm/pwm.conf) - ${CP} ${PREFIX}/etc/pwm/sample.conf ${PREFIX}/etc/pwm/pwm.conf -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/config.txt ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/pwm ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pwm.1x ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pwm ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/etc/pwm/*.conf ${STAGEDIR}${PREFIX}/etc/pwm + ${MV} ${STAGEDIR}${PREFIX}/etc/pwm/sample.conf ${STAGEDIR}${PREFIX}/etc/pwm/pwm.conf.sample + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/config.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |