summaryrefslogtreecommitdiff
path: root/mbone/dbeacon/Makefile
blob: 3949d10a3eb0d5ecc6f00c320dc7bf33121c6fbd (plain)
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
# $NetBSD: Makefile,v 1.2 2008/08/26 17:18:14 seb Exp $
#

DISTNAME=	dbeacon-0.3.9.1
PKGREVISION=	1
CATEGORIES=	mbone
MASTER_SITES=	http://fivebits.net/files/dbeacon/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://fivebits.net/proj/dbeacon/
COMMENT=	Distributed IPv4/IPv6 multicast beacon

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake
NO_CONFIGURE=	yes
BUILD_DEFS+=	IPV6_READY

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/examples/dbeacon
INSTALLATION_DIRS+=	share/doc/dbeacon

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dbeacon ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/docs/dbeacon.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for f in FAQ PROTOCOL large_scale_beaconing.txt
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/dbeacon
.endfor
.for f in apache-matrix-conf checkmatrix.sh dbeacon.conf.sample matrix.conf.sample matrix.pl xml2txt.pl
	${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${DESTDIR}${PREFIX}/share/examples/dbeacon
.endfor
	${INSTALL_DATA} ${WRKSRC}/docs/matrix.conf.5 ${DESTDIR}${PREFIX}/share/examples/dbeacon

.include "../../mk/bsd.pkg.mk"