aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ramond/Makefile
blob: cfb0707b7ee0c2d493e82bd2ee4d8edbab797338 (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
41
42
43
# New ports collection makefile for:	ramond
# Date created:				2010-01-25
# Whom:					janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=	ramond
PORTVERSION=	0.4
PORTREVISION=	2
CATEGORIES=	net-mgmt ipv6
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/_${PORTVERSION}/

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	On-link IPv6 router advertisment monitoring and reporting daemon

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_BZIP2=	YES
USE_GNOME=	libxml2
USE_RC_SUBR=	ramon

PORTDOCS=	README

.include <bsd.port.pre.mk>

LIB_DEPENDS+=	apr-1:${PORTSDIR}/devel/apr1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ramond ${PREFIX}/sbin
	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/*.dtd \
		${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/demo.pl \
		${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/ramond.conf.example ${PREFIX}/etc/

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>