aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/spectrwm
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2014-07-15 17:24:42 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2014-07-15 17:24:42 +0000
commit85bd011bc71ca46407a2a4d95feca3613d282b35 (patch)
tree035c68853bd3f4c6ea68146cea0cfa99e2a68131 /x11-wm/spectrwm
parent8fc09c9b757593151c9310baee6c1e415ab71583 (diff)
downloadports-85bd011bc71ca46407a2a4d95feca3613d282b35.tar.gz
ports-85bd011bc71ca46407a2a4d95feca3613d282b35.zip
Notes
Diffstat (limited to 'x11-wm/spectrwm')
-rw-r--r--x11-wm/spectrwm/Makefile2
-rw-r--r--x11-wm/spectrwm/pkg-plist4
2 files changed, 2 insertions, 4 deletions
diff --git a/x11-wm/spectrwm/Makefile b/x11-wm/spectrwm/Makefile
index 321193ba49a2..5862fc3c6f0b 100644
--- a/x11-wm/spectrwm/Makefile
+++ b/x11-wm/spectrwm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= spectrwm
PORTVERSION= 2.5.1
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= https://opensource.conformal.com/snapshots/${PORTNAME}/
EXTRACT_SUFX= .tgz
@@ -46,7 +47,6 @@ do-install:
${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}
diff --git a/x11-wm/spectrwm/pkg-plist b/x11-wm/spectrwm/pkg-plist
index 6c9eb360b202..11cf843f8b17 100644
--- a/x11-wm/spectrwm/pkg-plist
+++ b/x11-wm/spectrwm/pkg-plist
@@ -2,6 +2,4 @@ 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
+@sample etc/spectrwm.conf.sample