blob: a684fdf71e5e1bd0b35c6107c14d530cd253bc07 (
plain)
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
43
44
45
46
47
48
49
|
# Created by: Loic Pefferkorn <loic-freebsd@loicp.eu>
# $FreeBSD$
PORTNAME= burp
PORTVERSION= 1.4.40
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= loic-freebsd@loicp.eu
COMMENT= Network backup and restore program
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash
LIB_DEPENDS= librsync.so:net/librsync1
OPTIONS_DEFINE= IPV6
USE_GITHUB= yes
GH_ACCOUNT= grke
USE_RC_SUBR= burp
GNU_CONFIGURE= yes
USES= gmake localbase ncurses
PORTSCOUT= limit:^1\.4\.
CONFIGURE_ARGS= --sbindir="${PREFIX}/sbin" \
--sysconfdir=${ETCDIR} \
IPV6_CONFIGURE_ENABLE= ipv6
CONFIG_FILES= configs/server/burp.conf \
configs/client/burp.conf \
configs/certs/CA/CA.cnf
post-patch:
.for f in ${CONFIG_FILES}
@${REINPLACE_CMD} -e 's,/etc/burp,${PREFIX}/etc/burp,g' ${WRKSRC}/${f}
@${REINPLACE_CMD} -e 's,/usr/sbin,${PREFIX}/sbin,g' ${WRKSRC}/${f}
.endfor
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/bedup
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vss_strip
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/burp
.include <bsd.port.mk>
|