[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.19, Fri May 31 12:41:25 2013 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.18: +2 -2 lines

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

# $NetBSD: Makefile,v 1.19 2013/05/31 12:41:25 wiz Exp $
#

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