diff options
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/spectrwm/Makefile | 28 | ||||
-rw-r--r-- | x11-wm/spectrwm/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/spectrwm/pkg-plist | 1 |
3 files changed, 14 insertions, 19 deletions
diff --git a/x11-wm/spectrwm/Makefile b/x11-wm/spectrwm/Makefile index e86aae70bdb0..e10bc7486356 100644 --- a/x11-wm/spectrwm/Makefile +++ b/x11-wm/spectrwm/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= spectrwm -PORTVERSION= 2.3.0 +PORTVERSION= 2.4.0 CATEGORIES= x11-wm MASTER_SITES= https://opensource.conformal.com/snapshots/${PORTNAME}/ EXTRACT_SUFX= .tgz @@ -19,7 +19,6 @@ RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu USE_XORG= x11 xcb xcursor xft xrandr xt -MAN1= spectrwm.1 USE_LDCONFIG= yes PORTEXAMPLES= spectrwm_cz.conf \ spectrwm_es.conf \ @@ -28,7 +27,6 @@ PORTEXAMPLES= spectrwm_cz.conf \ spectrwm_se.conf \ spectrwm_us.conf -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.* @@ -43,19 +41,15 @@ do-build: -o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/bin - ${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${PREFIX}/lib - ${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${MAN1PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${PREFIX}/etc/spectrwm.conf.sample - @if [ ! -f ${PREFIX}/etc/spectrwm.conf ]; then \ - ${INSTALL_DATA} ${PREFIX}/etc/spectrwm.conf.sample ${PREFIX}/etc/spectrwm.conf ; \ - fi -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} -.for conf in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${conf} ${EXAMPLESDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${STAGEDIR}${PREFIX}/bin + ${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf.sample + ${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + .for conf in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${conf} ${STAGEDIR}${EXAMPLESDIR} + .endfor .include <bsd.port.mk> diff --git a/x11-wm/spectrwm/distinfo b/x11-wm/spectrwm/distinfo index 97ef623859bb..4c66cb11c5ac 100644 --- a/x11-wm/spectrwm/distinfo +++ b/x11-wm/spectrwm/distinfo @@ -1,2 +1,2 @@ -SHA256 (spectrwm-2.3.0.tgz) = 9b8902ea167f8570accaed3e016ebc6b7c3b8177928d2e4d57f4b488ee97199f -SIZE (spectrwm-2.3.0.tgz) = 109384 +SHA256 (spectrwm-2.4.0.tgz) = 5e530e3f69af1649e8b2d0734dce456ff95ce182196cc1e030c9760396b0d83e +SIZE (spectrwm-2.4.0.tgz) = 112193 diff --git a/x11-wm/spectrwm/pkg-plist b/x11-wm/spectrwm/pkg-plist index 7aadbc5eed77..6c9eb360b202 100644 --- a/x11-wm/spectrwm/pkg-plist +++ b/x11-wm/spectrwm/pkg-plist @@ -1,6 +1,7 @@ bin/spectrwm bin/screenshot.sh lib/libswmhack.so +man/man1/spectrwm.1.gz @unexec if [ ! -f %D/etc/spectrwm.conf ] || cmp -s %D/etc/spectrwm.conf.sample %D/etc/spectrwm.conf; then rm -f %D/etc/spectrwm.conf; else echo %%PREFIX%%/etc/spectrwm.conf contains changes, remove it manually to delete this package completely.; fi etc/spectrwm.conf.sample @exec [ -f %D/etc/spectrwm.conf ] || cp -p %D/%F %D/etc/spectrwm.conf |