summaryrefslogtreecommitdiff
path: root/dns/dnshistory/Makefile
blob: 8ea3d90b6330a044a77f55f46e2e6e0403ab7c3b (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
PORTNAME=	dnshistory
PORTVERSION=	1.3
PORTREVISION=	2
CATEGORIES=	dns
MASTER_SITES=	http://www.stedee.id.au/files/ \
		http://launchpad.net/${PORTNAME}/${PORTVERSION}/${PORTVERSION}/+download/

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Store DNS lookups to a DB
WWW=		http://www.stedee.id.au/dnshistory

LICENSE=	GPLv2

LIB_DEPENDS=	libpcre.so:devel/pcre

USES=		bdb
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS=	COPYING ChangeLog NEWS

OPTIONS_DEFINE=	DOCS

.include <bsd.port.pre.mk>

CPPFLAGS+=	-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
LDFLAGS+=	-L${LOCALBASE}/lib -L${BDB_LIB_DIR}

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>