2015-04-13 08:51:44 +02:00
|
|
|
# Created by: Amar Takhar <verm@drunkmonk.net>
|
2002-07-15 13:36:32 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fastresolve
|
2003-09-03 12:59:27 +02:00
|
|
|
PORTVERSION= 2.10
|
2016-03-02 08:58:13 +01:00
|
|
|
PORTREVISION= 6
|
2004-08-08 23:59:24 +02:00
|
|
|
CATEGORIES= dns
|
2015-04-13 08:51:44 +02:00
|
|
|
MASTER_SITES= http://BSDforge.com/projects/source/dns/fastresolve/
|
2002-07-15 13:36:32 +02:00
|
|
|
|
2015-04-13 08:51:44 +02:00
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
|
|
COMMENT= Programs to get DNS and domain ownership information from web logs
|
2002-07-15 13:36:32 +02:00
|
|
|
|
2011-03-23 16:53:22 +01:00
|
|
|
LICENSE= GPLv2
|
2014-02-06 14:19:22 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libadns.so:dns/adns
|
|
|
|
RUN_DEPENDS= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB
|
2011-03-23 16:53:22 +01:00
|
|
|
|
2016-08-08 15:46:50 +02:00
|
|
|
USES= bdb perl5 tar:bzip2
|
2003-09-03 12:59:27 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-02-06 14:19:22 +01:00
|
|
|
CONFIGURE_ENV= PERL=${PERL} \
|
|
|
|
djm_cv_lib_db_Dbopen=yes
|
2015-04-13 08:51:44 +02:00
|
|
|
|
2014-02-06 14:19:22 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
|
2002-07-15 13:36:32 +02:00
|
|
|
|
2015-04-13 08:51:44 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-02-06 14:19:22 +01:00
|
|
|
post-patch:
|
2015-04-13 08:51:44 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/-ldb"/-l${BDB_LIB_CXX_NAME}"/' \
|
|
|
|
${WRKSRC}/configure
|
2004-09-18 19:49:31 +02:00
|
|
|
|
2003-09-03 12:59:27 +02:00
|
|
|
post-install:
|
2014-02-06 14:19:22 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2003-09-03 12:59:27 +02:00
|
|
|
.for f in AUTHORS COPYING ChangeLog INSTALL NEWS README
|
2015-04-13 08:51:44 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2003-09-03 12:59:27 +02:00
|
|
|
.endfor
|
2015-04-13 08:51:44 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/TODO ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/timings ${STAGEDIR}${DOCSDIR}
|
2003-05-18 12:15:24 +02:00
|
|
|
|
2014-02-06 14:19:22 +01:00
|
|
|
.include <bsd.port.mk>
|