1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/databases/db48/Makefile
Antoine Brodin 77db042737 Extend expiration date of 3 months, *coin ports still need it and now
audio/jack needs it too

With hat:	portmgr
2014-11-27 21:44:59 +00:00

48 lines
1.4 KiB
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= db48
PORTVERSION= 4.8.30.0
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/
PKGNAMEPREFIX?=
DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb
MAINTAINER= mandree@FreeBSD.org
COMMENT= The Berkeley DB package, revision 4.8
DEPRECATED= Please migrate to db5 or db6
# The port is not to be removed unless the bitcoin-related ports can
# go without this.
EXPIRATION_DATE= 2015-02-28
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/LICENSE
BDBVER= ${PORTVERSION:R:R}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
--includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
USES= libtool:keepla
GNU_CONFIGURE= yes
INSTALL_TARGET= install_include install_lib install_utilities
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -Ee 's|--mode=install cp -p|--mode=install ${INSTALL} -s|;' ${WRKSRC}/${CONFIGURE_SCRIPT}
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${STAGEDIR}${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${STAGEDIR}${PREFIX}/lib/${i}-${BDBVER}.so
.endfor
cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME}; \
for i in *; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER}; done
.include <bsd.port.mk>