freebsd-ports/sysutils/burp/Makefile
Steve Wills 5ffadaf0c5 sysutils/burp: Use rc script from distfile, improve pkg-plist
PR:		238288
Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch> (maintainer)
2019-06-08 00:58:17 +00:00

44 lines
987 B
Makefile

# Created by: Loic Pefferkorn <loic-freebsd@loicp.eu>
# $FreeBSD$
PORTNAME= burp
PORTVERSION?= 2.2.18
PORTREVISION?= 1
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>