blob: f867b21a0842b0fed277848c56660fd18ef614cd (
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
|
# $FreeBSD$
PORTNAME= cbsd
PORTVERSION= 9.2.1
CATEGORIES= sysutils
MASTER_SITES= http://www.bsdstore.ru/downloads/ \
GH
MAINTAINER= olevole@olevole.ru
COMMENT= Yet another FreeBSD Jail Management Utility
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
sudo:${PORTSDIR}/security/sudo \
sqlite3:${PORTSDIR}/databases/sqlite3
LIB_DEPENDS= ssh2:${PORTSDIR}/security/libssh2
USE_GITHUB= yes
GH_ACCOUNT= olevole
GH_PROJECT= cbsd
GH_COMMIT= 68e0f95
SUB_FILES= pkg-message
CBSD_HOME?= ${PREFIX}/cbsd
MAN7= cbsd.7
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 901000
IGNORE= does not work on FreeBSD < 9.1
.endif
post-install:
@${FIND} -s ${CBSD_HOME} -not -type d | ${SORT} | \
${SED} -e 's#^${PREFIX}/##' >> ${TMPPLIST}
@${FIND} ${CBSD_HOME} -type d | ${SORT} -r | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|