1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/dns/fastresolve/Makefile
Baptiste Daroussin 1c56057664 Support stage
Do not patch to allow discovering bdb just do it manually (that avoid dependencies on ancient autotools)
Global modernization
2014-02-06 13:19:22 +00:00

41 lines
1.0 KiB
Makefile

# Created by: verm@drunkmonk.net
# $FreeBSD$
PORTNAME= fastresolve
PORTVERSION= 2.10
PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= http://www.djmnet.org/sw/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Programs that process web logs to get DNS and domain ownership info
LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
RUN_DEPENDS= p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
USES= perl5
USE_BDB= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL} \
djm_cv_lib_db_Dbopen=yes
LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
post-patch:
@${REINPLACE_CMD} -e 's/-ldb"/-ldb -l${BDB_LIB_CXX_NAME}"/g' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog INSTALL NEWS README
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/TODO ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/timings ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>