aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/pkg_jail/Makefile
blob: 50489717425c2b1476e8eddc1566d339cf981ed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Ports collection makefile for:  pkg_jail
# Date created:           4 Aug 2006
# Whom:               dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   pkg_jail
PORTVERSION=    1.69
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
PORTDOCS=   README
MAN1=       pkg_jail.1 pkg_update.1

do-install:
    ${INSTALL_SCRIPT} ${FILESDIR}/pkg_jail ${FILESDIR}/pkg_update ${PREFIX}/bin/
    ${INSTALL_MAN} ${FILESDIR}/pkg_jail.1 ${FILESDIR}/pkg_update.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${FILESDIR}/README ${DOCSDIR}/
.endif

install-ports:
    -${MKDIR} ${PORTSDIR}/local/update
    ${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>