oldserver+newclient is not supported, so retain 2.0.54 by splitting into 2.0 and 2.1 subdirecties and using "@option is-branch". based on a submission from jirib at devio.us, i twweaked it quite a bit though
33 lines
832 B
Makefile
33 lines
832 B
Makefile
# $OpenBSD: Makefile.inc,v 1.1 2018/03/08 14:41:02 sthen Exp $
|
|
|
|
COMMENT = BackUp and Restore Program
|
|
DISTNAME = burp-${VERSION}
|
|
|
|
CATEGORIES = sysutils
|
|
HOMEPAGE = http://burp.grke.org/
|
|
|
|
# AGPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB ?= b2 c crypto m curses rsync ssl z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=burp/}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
INSTALL_TARGET = install-all
|
|
|
|
# check is used for tests but detected at configure time
|
|
BUILD_DEPENDS = devel/check \
|
|
devel/uthash
|
|
LIB_DEPENDS = net/librsync
|
|
RUN_DEPENDS = shells/bash
|
|
SYSCONFDIR = ${BASESYSCONFDIR}/burp
|
|
CONFIGURE_ENV = runstatedir=${LOCALSTATEDIR}/run/burp
|
|
|
|
# configs are subst'ed in fake; use mv, don't override sysconfdir in FAKE_FLAGS
|
|
post-install:
|
|
rm -Rf ${WRKINST}${SYSCONFDIR}/autoupgrade
|
|
mv ${WRKINST}${SYSCONFDIR} ${PREFIX}/share/examples/
|