From bc7a91c9b8a87cf811e9b54b2ef5530ef7400aee Mon Sep 17 00:00:00 2001 From: krion Date: Tue, 28 Dec 2004 22:02:11 +0000 Subject: Update to 4.3.27 PR: ports/75563 Submitted by: maintainer --- databases/db45/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++++--- databases/db45/Makefile.db | 46 ---------------------------------------------- databases/db45/distinfo | 4 ++-- 3 files changed, 44 insertions(+), 51 deletions(-) delete mode 100644 databases/db45/Makefile.db (limited to 'databases/db45') diff --git a/databases/db45/Makefile b/databases/db45/Makefile index 9effbba..5abd4d3 100644 --- a/databases/db45/Makefile +++ b/databases/db45/Makefile @@ -6,16 +6,55 @@ # PORTNAME= db43 -PORTVERSION= 4.3.21 +PORTVERSION= 4.3.27 CATEGORIES= databases +MASTER_SITES= ftp://sleepycat1.inetu.net/releases/ PKGNAMESUFFIX?= +DISTNAME?= db-${PORTVERSION} +DIST_SUBDIR= bdb MAINTAINER= matthias.andree@gmx.de COMMENT= The Berkeley DB package, revision 4.3 -MASTERDIR?= ${.CURDIR} +WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix -.include <${MASTERDIR}/Makefile.db> +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL_VER= 15 +CONFIGURE_SCRIPT= ../dist/configure +LIBTOOLFILES= ${CONFIGURE_SCRIPT} +CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL} +BDBVER= ${PORTVERSION:R} +BDBMINOR= ${BDBVER:E:S/^\.//} +BDBDIR= BerkeleyDB.${BDBVER} +CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \ + --enable-cxx --enable-dynamic \ + --enable-rpc \ + --includedir=${PREFIX}/include/${PORTNAME} \ + --libdir=${PREFIX}/lib/${PORTNAME} \ + --bindir=${PREFIX}/bin/${PORTNAME} +INSTALL_TARGET= install_include install_lib install_utilities +.if !defined(NOPORTDOCS) +INSTALL_TARGET+= install_docs docdir=${DOCSDIR} +PORTDOCS= * +.endif + +pre-patch: + @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} + +pre-configure: + ${CHMOD} u+w ${WRKSRC}/../dist/configure + +post-install: +.for i in libdb libdb_cxx + ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib + ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so +.endfor +.if !defined(NOPORTDOCS) + @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || : +.endif + cd ${PREFIX}/bin/${PORTNAME} ; \ + for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done .include .if ${ARCH} == amd64 diff --git a/databases/db45/Makefile.db b/databases/db45/Makefile.db deleted file mode 100644 index ed169e6..0000000 --- a/databases/db45/Makefile.db +++ /dev/null @@ -1,46 +0,0 @@ -MASTER_SITES= http://www.sleepycat.com/update/snapshot/ -DISTNAME?= db-${PORTVERSION} -DIST_SUBDIR= bdb - -PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/ -PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME} - -WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix - -USE_REINPLACE= yes -INSTALLS_SHLIB= yes -USE_LIBTOOL_VER= 15 -CONFIGURE_SCRIPT= ../dist/configure -LIBTOOLFILES= ${CONFIGURE_SCRIPT} -CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL} -BDBVER= ${PORTVERSION:R} -BDBMINOR= ${BDBVER:E:S/^\.//} -BDBDIR= BerkeleyDB.${BDBVER} -CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \ - --enable-cxx --enable-dynamic \ - --enable-rpc \ - --includedir=${PREFIX}/include/${PORTNAME} \ - --libdir=${PREFIX}/lib/${PORTNAME} \ - --bindir=${PREFIX}/bin/${PORTNAME} -INSTALL_TARGET= install_include install_lib install_utilities -.if !defined(NOPORTDOCS) -INSTALL_TARGET+= install_docs docdir=${DOCSDIR} -PORTDOCS= * -.endif - -pre-patch: - @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} - -pre-configure: - ${CHMOD} u+w ${WRKSRC}/../dist/configure - -post-install: -.for i in libdb libdb_cxx - ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib - ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so -.endfor -.if !defined(NOPORTDOCS) - @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || : -.endif - cd ${PREFIX}/bin/${PORTNAME} ; \ - for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done diff --git a/databases/db45/distinfo b/databases/db45/distinfo index 7f8d401..8a89c79 100644 --- a/databases/db45/distinfo +++ b/databases/db45/distinfo @@ -1,2 +1,2 @@ -MD5 (bdb/db-4.3.21.tar.gz) = 014950aaadd531f6f9064c81a2018423 -SIZE (bdb/db-4.3.21.tar.gz) = 5916550 +MD5 (bdb/db-4.3.27.tar.gz) = fcc481d52c3b80e20a328f8c0cb042bd +SIZE (bdb/db-4.3.27.tar.gz) = 5921872 -- cgit v1.1