mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Drop unknown post-deinstall target
- Bump PORTREVISION PR: ports/166077 Submitted by: Jason Helfman <jgh@FreeBSD.org> Feature safe: yes
This commit is contained in:
parent
7609c109bd
commit
2b88e39fcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293411
1 changed files with 5 additions and 22 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= wired
|
PORTNAME= wired
|
||||||
PORTVERSION= 1.3.4
|
PORTVERSION= 1.3.4
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://mirror.mcx2.org/
|
MASTER_SITES= http://mirror.mcx2.org/
|
||||||
|
|
||||||
|
@ -27,28 +27,11 @@ pre-install:
|
||||||
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@if [ ! -f ${PREFIX}/wired/etc/wired.conf ]; then \
|
.for i in etc/wired.conf etc/resolv.conf banlist groups news users
|
||||||
${CP} -p ${PREFIX}/wired/etc/wired.conf.sample ${PREFIX}/wired/etc/wired.conf ; \
|
@if [ ! -f ${PREFIX}/wired/${i} ]; then \
|
||||||
fi
|
${CP} -p ${PREFIX}/wired/${i}.sample ${PREFIX}/wired/${i} ; \
|
||||||
@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 ; \
|
|
||||||
fi
|
fi
|
||||||
|
.endfor
|
||||||
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue