mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix plist for config file.
Use @sample.
This commit is contained in:
parent
8fc09c9b75
commit
85bd011bc7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361984
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user