[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / beacon

File: [cvs.NetBSD.org] / pkgsrc / mbone / beacon / Makefile (download)

Revision 1.16, Sun Aug 14 13:39:57 2011 UTC (10 years, 10 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.15: +2 -2 lines

Revision bump after updating perl5 to 5.14.1.

# $NetBSD: Makefile,v 1.16 2011/08/14 13:39:57 obache Exp $
#

DISTNAME=	beacon-1.3
PKGREVISION=	3
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

PKG_DESTDIR_SUPPORT=	user-destdir

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=	post-patch
SUBST_SED.conf=		-e s,@prefix@/etc,${PKG_SYSCONFDIR},

CONF_FILES+=	${PREFIX}/share/examples/beacon/beacon.conf \
		${PKG_SYSCONFDIR}/beacon.conf

.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -fPIC
.endif

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"