diff options
author | marcus <marcus@FreeBSD.org> | 2003-09-02 10:05:41 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-09-02 10:05:41 +0800 |
commit | 813daff53d9956625167c0b6f2eec43ce6471c7f (patch) | |
tree | 562414fa14e690d865174eda0ff7fd4b0796ad28 /ports-mgmt | |
parent | 9dd5a573f3e96734f754336c38d0690105ff70d3 (diff) | |
download | freebsd-ports-gnome-813daff53d9956625167c0b6f2eec43ce6471c7f.tar.gz freebsd-ports-gnome-813daff53d9956625167c0b6f2eec43ce6471c7f.tar.zst freebsd-ports-gnome-813daff53d9956625167c0b6f2eec43ce6471c7f.zip |
* Remove a dependency on bzip2
* Roll our own deinstall code since we get into a sticky situation when we
try to use the new code [1]
Reported by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg_install/Makefile | 10 | ||||
-rw-r--r-- | ports-mgmt/pkg_install/distinfo | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ports-mgmt/pkg_install/Makefile b/ports-mgmt/pkg_install/Makefile index 28bd914e772c..4d9616922cc4 100644 --- a/ports-mgmt/pkg_install/Makefile +++ b/ports-mgmt/pkg_install/Makefile @@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= marcus MAINTAINER= portmgr@freebsd.org COMMENT= FreeBSD 5.x version of the package tools for older system releases -USE_BZIP2= yes MANCOMPRESSED= yes MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \ @@ -47,4 +46,13 @@ pre-configure: -e 's,%%MANPREFIX%%,${MANPREFIX},g' \ ${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc +deinstall: + @if ${PKG_INFO} -e ${PKGNAME}; then \ + ${PKG_DELETE} -f ${PKGNAME}; \ + else \ + ${ECHO_MSG} "===> ${PKGNAME} not installed; skipping"; \ + fi +.endif + @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} + .include <bsd.port.post.mk> diff --git a/ports-mgmt/pkg_install/distinfo b/ports-mgmt/pkg_install/distinfo index 1be684082316..a6a2867d34e5 100644 --- a/ports-mgmt/pkg_install/distinfo +++ b/ports-mgmt/pkg_install/distinfo @@ -1 +1 @@ -MD5 (pkg_install-20030714.tar.bz2) = dd98b0275c6bb1e31089e67ea18f22b6 +MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed |