blob: 844b6fc6c08ec9b0eecf43694377ba3e2c32f40f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.26 2019/01/06 00:12:39 schmonz Exp $
DISTNAME= miredo-1.2.6
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.remlab.net/files/miredo/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.remlab.net/miredo/
COMMENT= Teredo IPv6 tunneling
LICENSE= gnu-gpl-v2
NOT_FOR_PLATFORM= Interix-*-* NetBSD-[0-3].*-* SunOS-*-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --enable-examplesdir=${EGDIR}
CONFIGURE_ARGS+= --disable-sample-conf
CONFIGURE_ARGS+= --enable-miredo-user=${MIREDO_USER}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
PKG_SYSCONFSUBDIR?= miredo
EGDIR= ${PREFIX}/share/examples/miredo
CONF_FILES= ${EGDIR}/miredo.conf ${PKG_SYSCONFDIR}/miredo.conf
CONF_FILES+= ${EGDIR}/miredo-server.conf \
${PKG_SYSCONFDIR}/miredo-server.conf
CONF_FILES+= ${EGDIR}/client-hook ${PKG_SYSCONFDIR}/client-hook
RCD_SCRIPTS= miredo
FILES_SUBST+= MIREDO_USER=${MIREDO_USER:Q}
PKG_USERS_VARS+= MIREDO_USER
PKG_GROUPS_VARS+= MIREDO_GROUP
PKG_GROUPS+= ${MIREDO_GROUP}
PKG_USERS+= ${MIREDO_USER}:${MIREDO_GROUP}
BUILD_DEFS+= VARBASE PKG_SYSCONFBASE
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/libjudy/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|