aboutsummaryrefslogtreecommitdiff
path: root/net/pimdd/Makefile
blob: 5526545e151263af764fbee0491f3c33bf312fb0 (plain) (blame)
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
# New ports collection makefile for:	pimdd
# Date created:		18 March 2004
# Whom:			Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pimdd
PORTVERSION=	0.2.1.0
CATEGORIES=	net
MASTER_SITES=	http://www.antc.uoregon.edu/PIMDM/
DISTNAME=	pimd-dense

MAINTAINER=	ports@FreeBSD.org
COMMENT=	\
	UO Dense Protocol-Independent Multicast (PIM-DM) daemon for IPv4

NO_MAN=		defined
PIMDD_DOCS=	pimd-dense.html README CHANGES RELEASE.NOTES

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800070
BROKEN=		does not compile: error: IGMP_HOST_MEMBERSHIP_REPORT undeclared
.endif

post-patch:
	${REINPLACE_CMD} -e 's|/etc/pimd.conf|${PREFIX}/etc/pimd.conf|g' ${WRKSRC}/pathnames.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pimdd ${PREFIX}/sbin/pimdd
	${INSTALL_DATA} ${WRKSRC}/pimdd.conf ${PREFIX}/etc/pimdd.conf.sample
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PIMDD_DOCS}
	${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif

.include <bsd.port.post.mk>