daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
35 lines
819 B
Makefile
35 lines
819 B
Makefile
# $OpenBSD: Makefile,v 1.6 2018/01/11 19:27:08 rpe Exp $
|
|
|
|
COMMENT = Virtual Private Network (VPN) daemon
|
|
DISTNAME = tinc-1.0.33
|
|
CATEGORIES = net security
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = https://www.tinc-vpn.org/
|
|
|
|
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c crypto lzo2 z
|
|
|
|
MASTER_SITES = https://www.tinc-vpn.org/packages/
|
|
|
|
LIB_DEPENDS += archivers/lzo2
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
|
|
cp -r ${WRKSRC}/doc/sample-config/* ${PREFIX}/share/examples/tinc/
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/tinc/
|
|
chmod -R u=rwX,go=rX ${PREFIX}/share/examples/tinc/*
|
|
|
|
.include <bsd.port.mk>
|