summaryrefslogtreecommitdiff
path: root/dns/dnshistory/Makefile
blob: 7ea314472fa1203f1743e430f0ba337de9a5056d (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
# Created by: adamw

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

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>