aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg_install
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-06-10 10:02:51 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-06-10 10:02:51 +0000
commit003c9a4fc645cfbe725b490adb24a0baf049242e (patch)
tree2f7adfdfb49dd64d815859b76ac6e8240409f868 /ports-mgmt/pkg_install
parent11a4980acbe5fdd43a115aaf1193aa48a7ca7327 (diff)
downloadports-003c9a4fc645cfbe725b490adb24a0baf049242e.tar.gz
ports-003c9a4fc645cfbe725b490adb24a0baf049242e.zip
Notes
Diffstat (limited to 'ports-mgmt/pkg_install')
-rw-r--r--ports-mgmt/pkg_install/Makefile14
-rw-r--r--ports-mgmt/pkg_install/distinfo6
2 files changed, 14 insertions, 6 deletions
diff --git a/ports-mgmt/pkg_install/Makefile b/ports-mgmt/pkg_install/Makefile
index 0b778211f898..ea0327c6fd3e 100644
--- a/ports-mgmt/pkg_install/Makefile
+++ b/ports-mgmt/pkg_install/Makefile
@@ -6,20 +6,22 @@
#
PORTNAME= pkg_install
-PORTVERSION= 20080411
+PORTVERSION= 20080530
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.FreeBSD.org/~flz/distfiles/pkg_install/
MASTER_SITE_SUBDIR= flz/pkg_install
-MAINTAINER= portmgr@freebsd.org
-COMMENT= FreeBSD -CURRENT version of the pkg tools for older system releases
+MAINTAINER= portmgr@FreeBSD.org
+COMMENT= FreeBSD -STABLE version of the package tools
MANCOMPRESSED= yes
MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \
pkg_info.1 pkg_updating.1 pkg_version.1
+OPTIONS= WRAPPER "Use ports version instead of base if more recent" on
+
.include <bsd.port.pre.mk>
# Arbitrary OSVERSION but support for 5.x will go away soon anyway...
@@ -34,6 +36,12 @@ pre-configure:
-e 's,%%MANPREFIX%%,${MANPREFIX},g' \
${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
+# This enables the wrapper
+.if !defined(WITHOUT_WRAPPER)
+post-install:
+ ${ECHO} "${PORTVERSION} ${PREFIX}/sbin" > /var/db/${PORTNAME}.conf
+.endif
+
deinstall:
@if ${PKG_INFO} -e ${PKGNAME}; then \
${PKG_DELETE} -f ${PKGNAME}; \
diff --git a/ports-mgmt/pkg_install/distinfo b/ports-mgmt/pkg_install/distinfo
index 13bb95e648ba..8dc65743c983 100644
--- a/ports-mgmt/pkg_install/distinfo
+++ b/ports-mgmt/pkg_install/distinfo
@@ -1,3 +1,3 @@
-MD5 (pkg_install-20080411.tar.gz) = b6011be4c643bb4792f7013770a2772f
-SHA256 (pkg_install-20080411.tar.gz) = 374aebd6755cf6aa836b146f33240559256516062cf274b5cc5a709ac1304e06
-SIZE (pkg_install-20080411.tar.gz) = 79142
+MD5 (pkg_install-20080530.tar.gz) = 0adebc6420137ee710db541247189f67
+SHA256 (pkg_install-20080530.tar.gz) = e101b785a1ba02958022071fe1a80e6af9936e5d9bfbeb16dcc39e7ce418b1cc
+SIZE (pkg_install-20080530.tar.gz) = 81227