aboutsummaryrefslogtreecommitdiffstats
path: root/net/pimdd/Makefile
blob: 64db7eceea129add336e78a18a22e2d00865d88d (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
# 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

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.mk>