aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2013-12-08 22:18:01 +0800
committerzeising <zeising@FreeBSD.org>2013-12-08 22:18:01 +0800
commit4629c23ee7ef35afd1429a6ef33be2e80089f5ec (patch)
tree14c97c7e00f4ca0db547c4d9695705b022f550ed /x11-wm
parent5ec6a3b7e1e1ec5973db17f0572b9032a4677417 (diff)
downloadfreebsd-ports-gnome-4629c23ee7ef35afd1429a6ef33be2e80089f5ec.tar.gz
freebsd-ports-gnome-4629c23ee7ef35afd1429a6ef33be2e80089f5ec.tar.zst
freebsd-ports-gnome-4629c23ee7ef35afd1429a6ef33be2e80089f5ec.zip
Update to 2.4.0
Stagify.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/spectrwm/Makefile28
-rw-r--r--x11-wm/spectrwm/distinfo4
-rw-r--r--x11-wm/spectrwm/pkg-plist1
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