2019-09-02 20:55:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2019/09/02 20:55:08 kn Exp $
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
COMMENT = Virtual Private Network (VPN) daemon
|
2019-09-02 20:55:08 +00:00
|
|
|
DISTNAME = tinc-1.0.36
|
2015-11-03 20:07:47 +00:00
|
|
|
CATEGORIES = net security
|
2018-04-18 10:49:08 +00:00
|
|
|
EPOCH = 0
|
2015-11-03 20:07:47 +00:00
|
|
|
|
2016-05-27 11:49:04 +00:00
|
|
|
HOMEPAGE = https://www.tinc-vpn.org/
|
2015-11-03 20:07:47 +00:00
|
|
|
|
2019-09-02 20:55:08 +00:00
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
# GPLv2+
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
WANTLIB += c crypto lzo2 z
|
|
|
|
|
2016-05-27 11:49:04 +00:00
|
|
|
MASTER_SITES = https://www.tinc-vpn.org/packages/
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS += archivers/lzo2
|
|
|
|
|
2019-09-02 20:55:08 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2017-12-26 22:03:07 +00:00
|
|
|
USE_GMAKE = Yes
|
2015-11-03 20:07:47 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
|
2018-04-18 10:16:22 +00:00
|
|
|
cp -r ${WRKSRC}/doc/sample-config/* ${PREFIX}/share/examples/tinc/
|
2015-11-03 20:07:47 +00:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/tinc/
|
|
|
|
chmod -R u=rwX,go=rX ${PREFIX}/share/examples/tinc/*
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|