source: src-sh/port-files/Makefile @ c405e82

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since c405e82 was c405e82, checked in by Kris Moore <kris@…>, 15 months ago

Link pbi-manager10 into the build, fix ports pkg-plist if installing
to 10.x or higher

  • Property mode set to 100644
File size: 1.3 KB
Line 
1# Created by: Kris Moore <kmoore@FreeBSD.org>
2# $FreeBSD$
3
4PORTNAME=       pcbsd-utils
5PORTVERSION=    CHGVERSION
6CATEGORIES=     sysutils
7MASTER_SITES=   http://www.pcbsd.org/~kris/software/ \
8                ftp://ftp.pcbsd.org/pub/software/
9
10MAINTAINER=     kmoore@FreeBSD.org
11COMMENT=        PC-BSD Command-Line Utilities
12
13RUN_DEPENDS=    pkg-static:${PORTSDIR}/ports-mgmt/pkg \
14                svn:${PORTSDIR}/devel/subversion \
15                mksquashfs:${PORTSDIR}/sysutils/squashfs-tools \
16                debootstrap:${PORTSDIR}/sysutils/debootstrap \
17                aria2c:${PORTSDIR}/www/aria2 \
18                sipcalc:${PORTSDIR}/net-mgmt/sipcalc \
19                eject:${PORTSDIR}/sysutils/eject \
20                unzip:${PORTSDIR}/archivers/unzip \
21                ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests \
22                jailme:${PORTSDIR}/sysutils/jailme
23
24WRKSRC=         ${WRKDIR}/src-sh
25CONFLICTS?=     pbi-manager-[0-9]*
26NO_BUILD=       yes
27USE_BZIP2=      yes
28USE_PYTHON=     yes
29
30.include <bsd.port.pre.mk>
31
32.if ${OSVERSION} < 900030
33IGNORE=         requires FreeBSD 9.0 or later
34.endif
35
36.if ${OSVERSION} > 1000000
37PLIST_FILES+=   share/pbi-manager/.pbime \
38                share/pbi-manager/.pbimount \
39                share/pbi-manager/.mount_nullfs \
40                etc/man.d/pbi.conf
41.endif
42
43do-install:
44        cd ${WRKSRC} && make install PREFIX=${STAGEDIR}${PREFIX}
45
46post-install:
47        PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
48
49.include <bsd.port.post.mk>
Note: See TracBrowser for help on using the repository browser.