1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net/wired/pkg-plist
Mark Linimon 57c29b88a3 - make dirrmtry more friendly [1]
- allow checking STRIP when WITH_DEBUG is defined [2]
- unify the message with real URL by removing superfluous slash [3]

PR:		152102 [1],
		153539 [2],
		154653 [3]
Submitted by:	az [1],
		Anonymous <swell dot k at gmail dot com> [2],
		sunpoet [3]
2011-02-25 00:56:51 +00:00

36 lines
1.7 KiB
Plaintext

@unexec if cmp -s %D/wired/etc/certificate.pem.sample %D/wired/etc/certificate.pem; then rm -f %D/wired/etc/certificate.pem; fi
@comment The file below gets created by pkg-install script, so there is no point
@comment in putting it into plist.
@unexec rm -f %D/wired/etc/certificate.pem.sample
@unexec if cmp -s %D/wired/etc/wired.conf.sample %D/wired/etc/wired.conf; then rm -f %D/wired/etc/wired.conf; fi
wired/etc/wired.conf.sample
@exec if [ ! -f %D/wired/etc/wired.conf ] ; then cp -p %D/%F %B/wired.conf; fi
@unexec if cmp -s %D/wired/etc/resolv.conf.sample %D/wired/etc/resolv.conf; then rm -f %D/wired/etc/resolv.conf; fi
wired/etc/resolv.conf.sample
@exec if [ ! -f %D/wired/etc/resolv.conf ] ; then cp -p %D/%F %B/resolv.conf; fi
wired/files/Uploads/.wired/type
wired/files/Drop Box/.wired/type
@unexec if cmp -s %D/wired/banlist.sample %D/wired/banlist; then rm -f %D/wired/banlist; fi
wired/banlist.sample
@exec if [ ! -f %D/wired/banlist ] ; then cp -p %D/%F %B/banlist; fi
@unexec if cmp -s %D/wired/groups.sample %D/wired/groups; then rm -f %D/wired/groups; fi
wired/groups.sample
@exec if [ ! -f %D/wired/groups ] ; then cp -p %D/%F %B/groups; fi
@unexec if cmp -s %D/wired/news.sample %D/wired/news; then rm -f %D/wired/news; fi
wired/news.sample
@exec if [ ! -f %D/wired/news ] ; then cp -p %D/%F %B/news; fi
@unexec if cmp -s %D/wired/users.sample %D/wired/users; then rm -f %D/wired/users; fi
wired/users.sample
@exec if [ ! -f %D/wired/users ] ; then cp -p %D/%F %B/users; fi
sbin/wired
bin/wiredctl
@exec mkdir -p %D/wired/tmp
@dirrmtry wired/tmp
@dirrmtry wired/files/Uploads/.wired
@dirrmtry wired/files/Uploads
@dirrmtry wired/files/Drop Box/.wired
@dirrmtry wired/files/Drop Box
@dirrmtry wired/files
@dirrmtry wired/etc
@dirrmtry wired