Remove wrapper configuration file at deinstall.
This commit is contained in:
parent
9a5207b1cb
commit
171c05ce03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226521
2 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pkg_install
|
||||
PORTVERSION= 20080708
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://people.FreeBSD.org/~flz/distfiles/pkg_install/
|
||||
|
@ -25,6 +26,12 @@ OPTIONS= WRAPPER "Use ports version instead of base if more recent" on
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_WRAPPER)
|
||||
PLIST_SUB+= WRAPPER=""
|
||||
.else
|
||||
PLIST_SUB+= WRAPPER="@comment "
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
-e 's,%%MANPREFIX%%,${MANPREFIX},g' \
|
||||
|
|
|
@ -4,3 +4,5 @@ sbin/pkg_delete
|
|||
sbin/pkg_info
|
||||
sbin/pkg_updating
|
||||
sbin/pkg_version
|
||||
%%WRAPPER%%@cwd /var/db
|
||||
%%WRAPPER%%pkg_install.conf
|
||||
|
|
Loading…
Reference in a new issue