diff options
author | dhn <dhn@FreeBSD.org> | 2012-03-16 23:48:34 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2012-03-16 23:48:34 +0800 |
commit | 07d9fb6cc9b103057c98decce2ba068709419e66 (patch) | |
tree | 45bdb3fe199e5913438356fd7ff39754aa5474a1 /net | |
parent | b8734f1cacb84bb78461dafb8c86bb90fef442ff (diff) | |
download | freebsd-ports-gnome-07d9fb6cc9b103057c98decce2ba068709419e66.tar.gz freebsd-ports-gnome-07d9fb6cc9b103057c98decce2ba068709419e66.tar.zst freebsd-ports-gnome-07d9fb6cc9b103057c98decce2ba068709419e66.zip |
- Drop unknown post-deinstall target
- Bump PORTREVISION
PR: ports/166077
Submitted by: Jason Helfman <jgh@FreeBSD.org>
Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r-- | net/wired/Makefile | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/net/wired/Makefile b/net/wired/Makefile index 5588f42569e9..0298697188ae 100644 --- a/net/wired/Makefile +++ b/net/wired/Makefile @@ -7,7 +7,7 @@ PORTNAME= wired PORTVERSION= 1.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://mirror.mcx2.org/ @@ -27,28 +27,11 @@ pre-install: PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: - @if [ ! -f ${PREFIX}/wired/etc/wired.conf ]; then \ - ${CP} -p ${PREFIX}/wired/etc/wired.conf.sample ${PREFIX}/wired/etc/wired.conf ; \ - fi - @if [ ! -f ${PREFIX}/wired/etc/resolv.conf ]; then \ - ${CP} -p ${PREFIX}/wired/etc/resolv.conf.sample ${PREFIX}/wired/etc/resolv.conf ; \ - fi - @if [ ! -f ${PREFIX}/wired/banlist ]; then \ - ${CP} -p ${PREFIX}/wired/banlist.sample ${PREFIX}/wired/banlist ; \ - fi - @if [ ! -f ${PREFIX}/wired/groups ]; then \ - ${CP} -p ${PREFIX}/wired/groups.sample ${PREFIX}/wired/groups ; \ - fi - @if [ ! -f ${PREFIX}/wired/news ]; then \ - ${CP} -p ${PREFIX}/wired/news.sample ${PREFIX}/wired/news ; \ - fi - @if [ ! -f ${PREFIX}/wired/users ]; then \ - ${CP} -p ${PREFIX}/wired/users.sample ${PREFIX}/wired/users ; \ +.for i in etc/wired.conf etc/resolv.conf banlist groups news users + @if [ ! -f ${PREFIX}/wired/${i} ]; then \ + ${CP} -p ${PREFIX}/wired/${i}.sample ${PREFIX}/wired/${i} ; \ fi +.endfor PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -post-deinstall: - ${RM} -f ${PREFIX}/wired/etc/certificate.pem.sample - PKG_PREFIX=${PREFIX} ${SH} pkg-deinstall ${PKGNAME} POST-DEINSTALL - .include <bsd.port.mk> |