1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

* 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>
This commit is contained in:
Joe Marcus Clarke 2003-09-02 02:05:41 +00:00
parent 666b2eb95d
commit 7e13ce1c3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88313
4 changed files with 20 additions and 4 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (pkg_install-20030714.tar.bz2) = dd98b0275c6bb1e31089e67ea18f22b6
MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed

View File

@ -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>

View File

@ -1 +1 @@
MD5 (pkg_install-20030714.tar.bz2) = dd98b0275c6bb1e31089e67ea18f22b6
MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed