pkgsrc/net/miredo/Makefile
jperkin a113e3fe9a client-hook isn't an rc.d script, and the binary doesn't look for it in
that location anyway.  Add it to CONF_FILES instead.  Fixes builds with
INIT_SYSTEM=rc.d.

Bump PKGREVISION.
2014-05-06 14:59:18 +00:00

36 lines
1,023 B
Makefile

# $NetBSD: Makefile,v 1.23 2014/05/06 14:59:18 jperkin Exp $
DISTNAME= miredo-1.2.2
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.remlab.net/files/miredo/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://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+= --enable-examplesdir=${EGDIR}
CONFIGURE_ARGS+= --disable-sample-conf
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
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/libjudy/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"