mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
b50a4b0708
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: verm@drunkmonk.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fastresolve
|
|
PORTVERSION= 2.10
|
|
PORTREVISION= 5
|
|
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 tar:bzip2
|
|
USE_BDB= 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"/-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>
|