summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-02 02:05:41 +0000
committermarcus <marcus@FreeBSD.org>2003-09-02 02:05:41 +0000
commit813daff53d9956625167c0b6f2eec43ce6471c7f (patch)
tree562414fa14e690d865174eda0ff7fd4b0796ad28 /sysutils
parent9dd5a573f3e96734f754336c38d0690105ff70d3 (diff)
downloadFreeBSD-ports-813daff53d9956625167c0b6f2eec43ce6471c7f.zip
FreeBSD-ports-813daff53d9956625167c0b6f2eec43ce6471c7f.tar.gz
* 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 'sysutils')
-rw-r--r--sysutils/pkg_install/Makefile10
-rw-r--r--sysutils/pkg_install/distinfo2
2 files changed, 10 insertions, 2 deletions
diff --git a/sysutils/pkg_install/Makefile b/sysutils/pkg_install/Makefile
index 28bd914..4d96169 100644
--- a/sysutils/pkg_install/Makefile
+++ b/sysutils/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/sysutils/pkg_install/distinfo b/sysutils/pkg_install/distinfo
index 1be6840..a6a2867 100644
--- a/sysutils/pkg_install/distinfo
+++ b/sysutils/pkg_install/distinfo
@@ -1 +1 @@
-MD5 (pkg_install-20030714.tar.bz2) = dd98b0275c6bb1e31089e67ea18f22b6
+MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed
OpenPOWER on IntegriCloud