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

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 39079340 was 39079340, checked in by Kris Moore <kris@…>, 6 months ago

For PBIs on 10, add a "pbi <cmd>" and "app <cmd>" alias

  • 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                sipcalc:${PORTSDIR}/net-mgmt/sipcalc \
18                eject:${PORTSDIR}/sysutils/eject \
19                unzip:${PORTSDIR}/archivers/unzip \
20                ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests \
21                jailme:${PORTSDIR}/sysutils/jailme
22
23WRKSRC=         ${WRKDIR}/src-sh
24CONFLICTS?=     pbi-manager-[0-9]*
25NO_BUILD=       yes
26USE_BZIP2=      yes
27USE_PYTHON=     yes
28
29.include <bsd.port.pre.mk>
30
31.if ${OSVERSION} < 900030
32IGNORE=         requires FreeBSD 9.0 or later
33.endif
34
35.if ${OSVERSION} > 1000000
36PLIST_FILES+=   share/pbi-manager/.pbime \
37                share/pbi-manager/.pbimount \
38                share/pbi-manager/.ldconfig \
39                share/pbi-manager/.mount_nullfs \
40                etc/man.d/pbi.conf \
41                sbin/app \
42                sbin/pbi
43.endif
44
45do-install:
46        cd ${WRKSRC} && make install PREFIX=${STAGEDIR}${PREFIX}
47
48post-install:
49        PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
50
51.include <bsd.port.post.mk>
Note: See TracBrowser for help on using the repository browser.