f7d99f8d2b
PR: 241128 Submitted by: phascolarctos@protonmail.ch (maintainer)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Loic Pefferkorn <loic-freebsd@loicp.eu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= burp
|
|
PORTVERSION?= 2.2.18
|
|
PORTREVISION?= 1 #whenever PORTREVISION is increased, it must be increased for
|
|
#the slave port sysutils/burp-devel too
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= phascolarctos@protonmail.ch
|
|
COMMENT= Network backup and restore program
|
|
|
|
LICENSE= AGPLv3 PD
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash \
|
|
${LOCALBASE}/include/yajl/yajl_common.h:devel/yajl
|
|
LIB_DEPENDS= librsync.so:net/librsync2
|
|
|
|
USES= autoreconf gmake libtool ncurses pkgconfig ssl
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= grke
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir=${ETCDIR}
|
|
|
|
INSTALL_TARGET= install-all
|
|
|
|
CONFLICTS_INSTALL?= burp-devel
|
|
PORTSCOUT?= limit:^2\.2\.
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= IPV6
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/freebsd/rc.d/burp
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/freebsd/rc.d/burp ${STAGEDIR}${PREFIX}/etc/rc.d/burp
|
|
|
|
.include <bsd.port.mk>
|