aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pcbsd-utils/Makefile
blob: f55e9f993fbdce2517080c4e16e38045b8ce4ae5 (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
38
39
40
41
42
# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pcbsd-utils
PORTVERSION=    1381240866
CATEGORIES= sysutils
MASTER_SITES=   http://www.pcbsd.org/~kris/software/ \
        ftp://ftp.pcbsd.org/pub/software/

MAINTAINER= kmoore@FreeBSD.org
COMMENT=    PC-BSD Command-Line Utilities

RUN_DEPENDS=    pkg-static:${PORTSDIR}/ports-mgmt/pkg \
        svn:${PORTSDIR}/devel/subversion \
        mksquashfs:${PORTSDIR}/sysutils/squashfs-tools \
        debootstrap:${PORTSDIR}/sysutils/debootstrap \
        aria2c:${PORTSDIR}/www/aria2 \
        sipcalc:${PORTSDIR}/net-mgmt/sipcalc \
        eject:${PORTSDIR}/sysutils/eject \
        unzip:${PORTSDIR}/archivers/unzip \
        ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests \
        jailme:${PORTSDIR}/sysutils/jailme

WRKSRC=     ${WRKDIR}/src-sh
CONFLICTS?= pbi-manager-[0-9]*
NO_BUILD=   yes
USE_BZIP2=  yes
USE_PYTHON= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900030
IGNORE=     requires FreeBSD 9.0 or later
.endif

do-install:
    cd ${WRKSRC} && make install PREFIX=${STAGEDIR}${PREFIX}

post-install:
    PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>