diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-02-10 08:16:33 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-02-10 08:16:33 +0000 |
commit | 45784bc4ff777ef192dbb6e3161507f331621bee (patch) | |
tree | 748c941763ddff0beeece712ddcf8ff7ac9145d1 /x11-wm/spectrwm/Makefile | |
parent | 70de555f3236ede593b4f03cf4a02c4572867bf8 (diff) |
- Update to 0.11.0
- while here cleanup portexamples installation and relocate screeshot.sh to ${PREFIX}/bin
PR: ports/164921
Submitted by: maintainer, zeising at daemonic.se
Notes
Notes:
svn path=/head/; revision=290839
Diffstat (limited to 'x11-wm/spectrwm/Makefile')
-rw-r--r-- | x11-wm/spectrwm/Makefile | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/x11-wm/spectrwm/Makefile b/x11-wm/spectrwm/Makefile index 5f48dddf2ecb..d5a7073279dc 100644 --- a/x11-wm/spectrwm/Makefile +++ b/x11-wm/spectrwm/Makefile @@ -6,8 +6,7 @@ # PORTNAME= scrotwm -PORTVERSION= 0.10.0 -PORTREVISION= 1 +PORTVERSION= 0.11.0 CATEGORIES= x11-wm MASTER_SITES= https://opensource.conformal.com/snapshots/scrotwm/ EXTRACT_SUFX= .tgz @@ -25,6 +24,12 @@ USE_XORG= x11 xproto xrandr xt xtst MAN1= scrotwm.1 USE_LDCONFIG=yes +PORTEXAMPLES= scrotwm_cz.conf \ + scrotwm_es.conf \ + scrotwm_fr.conf \ + scrotwm_fr_ch.conf \ + scrotwm_se.conf \ + scrotwm_us.conf RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu @@ -44,21 +49,20 @@ do-build: -o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c do-install: - ${MKDIR} ${EXAMPLESDIR} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${PREFIX}/lib - ${INSTALL_MAN} ${WRKSRC}/scrotwm.1 ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/scrotwm.1 ${MAN1PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/etc/scrotwm.conf.sample @if [ ! -f ${PREFIX}/etc/scrotwm.conf ]; then \ - ${CP} -p ${PREFIX}/etc/scrotwm.conf.sample ${PREFIX}/etc/scrotwm.conf ; \ + ${INSTALL_DATA} ${PREFIX}/etc/scrotwm.conf.sample ${PREFIX}/etc/scrotwm.conf ; \ fi ${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_cz.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_es.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_fr.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_fr_ch.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_se.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/scrotwm_us.conf ${EXAMPLESDIR} +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} +.for conf in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${conf} ${EXAMPLESDIR} +.endfor +.endif .include <bsd.port.post.mk> |