Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 17:24:43 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361984 - head/x11-wm/spectrwm
Message-ID:  <201407151724.s6FHOhes095423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151724.s6FHOhes095423>