Convert to @sample
This commit is contained in:
parent
f478ecfe88
commit
fa3feeb03b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397786
5 changed files with 6 additions and 14 deletions
|
@ -1,5 +1,3 @@
|
|||
@unexec if cmp -s %D/%%ETCDIR%%/hsflowd.conf %D/%%ETCDIR%%/hsflowd.conf.sample; then rm -f %D/%%ETCDIR%%/hsflowd.conf; fi
|
||||
%%ETCDIR%%/hsflowd.conf.sample
|
||||
@exec if [ ! -f %D/%%ETCDIR%%/hsflowd.conf ]; then cp -p %D/%F %B/hsflowd.conf; fi
|
||||
@sample %%ETCDIR%%/hsflowd.conf.sample
|
||||
sbin/hsflowd
|
||||
@unexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
lib/nss_ldap.so.1
|
||||
@unexec if cmp -s %D/etc/nss_ldap.conf %D/etc/nss_ldap.conf.sample; then rm -f %D/etc/nss_ldap.conf; fi
|
||||
etc/nss_ldap.conf.sample
|
||||
@exec if [ ! -f %D/etc/nss_ldap.conf ]; then cp %B/%f %D/etc/nss_ldap.conf; fi
|
||||
@sample etc/nss_ldap.conf.sample
|
||||
man/man5/nss_ldap.5.gz
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= portshaker-config
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
MAINTAINER= romain@FreeBSD.org
|
||||
|
@ -22,6 +22,6 @@ pre-install:
|
|||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/etc/portshaker.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/portshaker.conf.sample-config
|
||||
${STAGEDIR}${PREFIX}/etc/portshaker.conf.sample
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
@unexec if cmp -s %D/etc/portshaker.conf.sample-config %D/etc/portshaker.conf; then rm -f %D/etc/portshaker.conf; fi
|
||||
etc/portshaker.conf.sample-config
|
||||
@exec if [ ! -f %D/etc/portshaker.conf ] ; then cp -p %D/%F %B/portshaker.conf; fi
|
||||
@sample etc/portshaker.conf.sample
|
||||
etc/portshaker.d/bsd_sharp
|
||||
etc/portshaker.d/bsd_sharp_releng_2_0
|
||||
etc/portshaker.d/bsd_sharp_releng_2_2
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
bin/nikto
|
||||
@unexec if cmp -s %D/etc/nikto.conf %D/etc/nikto.conf.sample; then rm -f %D/etc/nikto.conf; fi
|
||||
etc/nikto.conf.sample
|
||||
@exec if [ ! -f %D/etc/nikto.conf ] ; then cp -p %D/%F %B/nikto.conf; fi
|
||||
@sample etc/nikto.conf.sample
|
||||
man/man1/nikto.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
|
|
Loading…
Reference in a new issue