2010-03-25 10:05:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pkg_jail
|
2013-09-30 22:37:58 +02:00
|
|
|
PORTVERSION= 1.73
|
2010-03-25 10:05:51 +01:00
|
|
|
CATEGORIES= ports-mgmt
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
|
|
COMMENT= Manage your own package jail
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-10-28 21:17:49 +01:00
|
|
|
PLIST_FILES= bin/pkg_jail bin/pkg_update \
|
|
|
|
man/man1/pkg_jail.1.gz man/man1/pkg_update.1.gz
|
2010-03-25 10:05:51 +01:00
|
|
|
PORTDOCS= README
|
2010-04-07 10:27:52 +02:00
|
|
|
MAN1= pkg_jail.1 pkg_update.1
|
2010-03-25 10:05:51 +01:00
|
|
|
|
2014-02-21 14:39:07 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-10-27 23:29:46 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-10-28 21:17:49 +01:00
|
|
|
do-install:
|
2013-10-27 23:29:46 +01:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pkg_jail ${FILESDIR}/pkg_update \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/
|
2013-10-28 21:17:49 +01:00
|
|
|
.for i in ${MAN1}
|
2014-03-04 07:51:37 +01:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/${i} ${STAGEDIR}${PREFIX}/man/man1/
|
2013-10-28 21:17:49 +01:00
|
|
|
.endfor
|
2013-10-27 23:29:46 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${DOCSDIR}/
|
2010-03-25 10:05:51 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
install-ports:
|
2012-06-30 09:28:16 +02:00
|
|
|
-${MKDIR} ${PORTSDIR}/local/update/data
|
2010-03-25 10:05:51 +01:00
|
|
|
${LN} -s ${FILESDIR}/README ${PORTSDIR}/local/update/
|
|
|
|
${LN} -s ${FILESDIR}/pkg_update ${PORTSDIR}/local/update/
|
|
|
|
${LN} -s ${FILESDIR}/pkg_jail ${PORTSDIR}/local/update/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|