svn commit: r361984 - head/x11-wm/spectrwm

Niclas Zeising zeising at FreeBSD.org
Tue Jul 15 17:24:43 UTC 2014


Author: zeising
Date: Tue Jul 15 17:24:42 2014
New Revision: 361984
URL: http://svnweb.freebsd.org/changeset/ports/361984
QAT: https://qat.redports.org/buildarchive/r361984/

Log:
  Fix plist for config file.
  Use @sample.

Modified:
  head/x11-wm/spectrwm/Makefile
  head/x11-wm/spectrwm/pkg-plist

Modified: head/x11-wm/spectrwm/Makefile
==============================================================================
--- head/x11-wm/spectrwm/Makefile	Tue Jul 15 17:18:18 2014	(r361983)
+++ head/x11-wm/spectrwm/Makefile	Tue Jul 15 17:24:42 2014	(r361984)
@@ -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}

Modified: head/x11-wm/spectrwm/pkg-plist
==============================================================================
--- head/x11-wm/spectrwm/pkg-plist	Tue Jul 15 17:18:18 2014	(r361983)
+++ head/x11-wm/spectrwm/pkg-plist	Tue Jul 15 17:24:42 2014	(r361984)
@@ -2,6 +2,4 @@ bin/spectrwm
 bin/screenshot.sh
 lib/libswmhack.so
 man/man1/spectrwm.1.gz
- at 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
- at exec [ -f %D/etc/spectrwm.conf ] || cp -p %D/%F %D/etc/spectrwm.conf
+ at sample etc/spectrwm.conf.sample


More information about the svn-ports-head mailing list