aboutsummaryrefslogtreecommitdiffstats
path: root/net/pimdd/Makefile
blob: 25fe22f202620d03a1a9fae1f58aaf0fc99503ae (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
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_RC_SUBR=    ${PORTNAME}
CPPFLAGS+=  -D_PATH_PIMD_CONF=\\\"${PREFIX}/etc/pimd.conf\\\"
PLIST_FILES=    sbin/pimdd \
        etc/pimdd.conf.sample
PORTDOCS=   pimd-dense.html README CHANGES RELEASE.NOTES
OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pimdd ${STAGEDIR}${PREFIX}/sbin/pimdd
    ${INSTALL_DATA} ${WRKSRC}/pimdd.conf \
        ${STAGEDIR}${PREFIX}/etc/pimdd.conf.sample

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>