diff options
-rw-r--r-- | x11-wm/spectrwm/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/spectrwm/pkg-plist | 4 |
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 |