1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/sysutils/burp/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Loic Pefferkorn <loic-freebsd@loicp.eu>
# $FreeBSD$
PORTNAME= burp
PORTVERSION= 1.4.40
PORTREVISION= 3
CATEGORIES= sysutils
MAINTAINER= ports@FreeBSD.org
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/librsync2
OPTIONS_DEFINE= IPV6
USE_GITHUB= yes
GH_ACCOUNT= grke
USE_RC_SUBR= burp
GNU_CONFIGURE= yes
USES= compiler:c++11-lib gmake localbase ncurses ssl
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>