38 lines
948 B
Makefile
38 lines
948 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pkg_jail
|
|
PORTVERSION= 1.73
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Manage your own package jail
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/pkg_jail bin/pkg_update \
|
|
man/man1/pkg_jail.1.gz man/man1/pkg_update.1.gz
|
|
PORTDOCS= README
|
|
MAN1= pkg_jail.1 pkg_update.1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pkg_jail ${FILESDIR}/pkg_update \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
.for i in ${MAN1}
|
|
${INSTALL_MAN} ${FILESDIR}/${i} ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${DOCSDIR}/
|
|
.endif
|
|
|
|
install-ports:
|
|
-${MKDIR} ${PORTSDIR}/local/update/data
|
|
${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>
|