2013-09-20 22:36:49 +00:00
|
|
|
# Created by: Oliver Eikemeier
|
2003-08-03 21:44:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pkg_install
|
2012-08-22 08:47:09 +00:00
|
|
|
PORTVERSION= 20120822
|
2007-02-05 01:08:46 +00:00
|
|
|
CATEGORIES= ports-mgmt
|
2012-08-22 08:47:09 +00:00
|
|
|
MASTER_SITES= LOCAL/bapt \
|
|
|
|
http://people.FreeBSD.org/~bapt/distfiles/
|
2003-08-03 21:44:33 +00:00
|
|
|
|
2008-06-10 10:02:51 +00:00
|
|
|
MAINTAINER= portmgr@FreeBSD.org
|
|
|
|
COMMENT= FreeBSD -STABLE version of the package tools
|
2003-08-03 21:44:33 +00:00
|
|
|
|
2013-10-10 17:40:50 +00:00
|
|
|
DEPRECATED= Replaced by ports-mgmt/pkg
|
|
|
|
EXPIRATION_DATE= 2014-04-30
|
|
|
|
|
2012-08-22 08:47:09 +00:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2003-08-03 21:44:33 +00:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \
|
2008-04-09 15:44:45 +00:00
|
|
|
pkg_info.1 pkg_updating.1 pkg_version.1
|
2003-08-03 21:44:33 +00:00
|
|
|
|
2009-01-06 17:59:31 +00:00
|
|
|
MAKE_ARGS= -DNO_OBJ -DNO_CRYPT -DNO_OPENSSL
|
|
|
|
|
2012-08-22 08:47:09 +00:00
|
|
|
OPTIONS_DEFINE= WRAPPER
|
|
|
|
OPTIONS_DEFAULT= WRAPPER
|
|
|
|
WRAPPER_DESC= Use ports version instead of base if more recent
|
2008-06-10 10:02:51 +00:00
|
|
|
|
2013-09-20 22:36:49 +00:00
|
|
|
NO_STAGE= yes
|
2012-08-22 08:47:09 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2003-08-03 21:44:33 +00:00
|
|
|
|
2012-08-22 08:47:09 +00:00
|
|
|
.if ${PORT_OPTIONS:MWRAPPER}
|
2009-01-20 13:19:36 +00:00
|
|
|
PLIST_SUB+= WRAPPER=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WRAPPER="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-08-03 21:44:33 +00:00
|
|
|
pre-configure:
|
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
|
|
-e 's,%%MANPREFIX%%,${MANPREFIX},g' \
|
|
|
|
${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
|
|
|
|
|
2008-06-10 10:02:51 +00:00
|
|
|
# This enables the wrapper
|
2012-08-22 08:47:09 +00:00
|
|
|
.if ${PORT_OPTIONS:MWRAPPER}
|
2008-06-10 10:02:51 +00:00
|
|
|
post-install:
|
|
|
|
${ECHO} "${PORTVERSION} ${PREFIX}/sbin" > /var/db/${PORTNAME}.conf
|
|
|
|
.endif
|
|
|
|
|
2003-09-02 02:05:41 +00:00
|
|
|
deinstall:
|
|
|
|
@if ${PKG_INFO} -e ${PKGNAME}; then \
|
|
|
|
${PKG_DELETE} -f ${PKGNAME}; \
|
|
|
|
else \
|
|
|
|
${ECHO_MSG} "===> ${PKGNAME} not installed; skipping"; \
|
|
|
|
fi
|
|
|
|
@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
|
|
|
|
|
2012-08-22 08:47:09 +00:00
|
|
|
.include <bsd.port.mk>
|