pkgsrc/mbone/beacon/Makefile
2020-08-31 18:06:29 +00:00

37 lines
909 B
Makefile

# $NetBSD: Makefile,v 1.29 2020/08/31 18:10:19 wiz Exp $
#
DISTNAME= beacon-1.3
PKGREVISION= 11
CATEGORIES= mbone
MASTER_SITES= ${MASTER_SITE_FREEBSD}
MAINTAINER= pettai@NetBSD.org
#HOMEPAGE= http://dast.nlanr.net/Projects/Beacon/
COMMENT= Multicast supervision tool
LICENSE= modified-bsd
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/examples/beacon
USE_TOOLS+= tar patch perl
PERL5_CONFIGURE= NO
PERL5_PACKLIST= auto/Net/Multicast/Beacon/.packlist
SUBST_CLASSES+= conf
SUBST_FILES.conf= src/beacon.in
SUBST_STAGE.conf= pre-configure
SUBST_SED.conf= -e s,@prefix@/etc,${PKG_SYSCONFDIR},
CONF_FILES+= ${PREFIX}/share/examples/beacon/beacon.conf \
${PKG_SYSCONFDIR}/beacon.conf
post-extract:
cd ${WRKSRC} && ${TAR} -zxvf common-1.2.16.tar.gz
pre-patch:
cd ${WRKSRC} && ${PATCH} -p0 < common-beacon.patch
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"