aboutsummaryrefslogtreecommitdiff
path: root/databases/db48
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-11-09 16:43:06 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-11-09 16:43:06 +0000
commitc4701807ef185b34d01cfdb533be9037f63e1bb5 (patch)
treea03eb54c3261ced9e862bd9154e86b59e8f11fed /databases/db48
parent2bc96ba15e0399ba55dbadd982658975b7c2e951 (diff)
downloadports-c4701807ef185b34d01cfdb533be9037f63e1bb5.tar.gz
ports-c4701807ef185b34d01cfdb533be9037f63e1bb5.zip
Add Berkeley DB 4.8 to the ports tree as a "regular" port for now.
Once FreeBSD 8.0 ships, I'll update all the USE knobs that are necessary to allow other ports to make use of this port. PR: ports/138831 Submitted by: Gea-Suan Lin <gslin@gslin.org> Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=244034
Diffstat (limited to 'databases/db48')
-rw-r--r--databases/db48/Makefile45
-rw-r--r--databases/db48/distinfo3
-rw-r--r--databases/db48/files/patch-dist::configure13
-rw-r--r--databases/db48/pkg-descr11
-rw-r--r--databases/db48/pkg-plist51
5 files changed, 123 insertions, 0 deletions
diff --git a/databases/db48/Makefile b/databases/db48/Makefile
new file mode 100644
index 000000000000..c603743735b9
--- /dev/null
+++ b/databases/db48/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: db48
+# Date created: 2009-09-15
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= db48
+PORTVERSION= 4.8.24.0
+CATEGORIES= databases
+MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
+ http://download-east.oracle.com/berkeley-db/ \
+ http://download-uk.oracle.com/berkeley-db/
+PKGNAMEPREFIX?=
+DISTNAME= db-${PORTVERSION:R}
+DIST_SUBDIR= bdb
+
+MAINTAINER= gslin@gslin.org
+COMMENT= The Berkeley DB package, revision 4.8
+
+# I allow all freebsd committer to do changes to this package without
+# my permission.
+
+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
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+INSTALL_TARGET= install_include install_lib install_utilities
+LIBTOOLFILES= ${CONFIGURE_SCRIPT}
+WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
+USE_LDCONFIG= yes
+
+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
+ cd ${PREFIX}/bin/${PORTNAME}; \
+ for i in *; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER}; done
+
+.include <bsd.port.mk>
diff --git a/databases/db48/distinfo b/databases/db48/distinfo
new file mode 100644
index 000000000000..886b8c521e36
--- /dev/null
+++ b/databases/db48/distinfo
@@ -0,0 +1,3 @@
+MD5 (bdb/db-4.8.24.tar.gz) = 147afdecf438ff99ade105a5272db158
+SHA256 (bdb/db-4.8.24.tar.gz) = bcbd9021250d9cb5992a1adf83cc7c9f08de7d5cfe02a25dbef928316bff5c88
+SIZE (bdb/db-4.8.24.tar.gz) = 22900528
diff --git a/databases/db48/files/patch-dist::configure b/databases/db48/files/patch-dist::configure
new file mode 100644
index 000000000000..2dac99fc909d
--- /dev/null
+++ b/databases/db48/files/patch-dist::configure
@@ -0,0 +1,13 @@
+--- ../dist/configure.orig Wed Dec 5 13:14:02 2001
++++ ../dist/configure Wed Dec 5 13:24:01 2001
+@@ -20867,8 +20867,8 @@
+
+ MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
+-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
++MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -version-info 0:0:0"
+ MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
+ MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
+-MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
++MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -version-info 0:0:0"
+ MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
+
diff --git a/databases/db48/pkg-descr b/databases/db48/pkg-descr
new file mode 100644
index 000000000000..57e18a6333c2
--- /dev/null
+++ b/databases/db48/pkg-descr
@@ -0,0 +1,11 @@
+Oracle Berkeley DB is a family of open source embeddable databases
+that allows developers to incorporate within their applications a
+fast, scalable, transactional database engine with industrial grade
+reliability and availability. As a result, customers and end-users
+will experience an application that simply works, reliably manages
+data, can scale under extreme load, but requires no ongoing database
+administration. As a developer, you can focus on your application and
+be confident that Oracle Berkeley DB will manage your persistence
+needs.
+
+WWW: http://www.oracle.com/database/berkeley-db/index.html
diff --git a/databases/db48/pkg-plist b/databases/db48/pkg-plist
new file mode 100644
index 000000000000..b4087a959066
--- /dev/null
+++ b/databases/db48/pkg-plist
@@ -0,0 +1,51 @@
+@comment $FreeBSD$
+bin/db48/db_archive
+bin/db48/db_checkpoint
+bin/db48/db_deadlock
+bin/db48/db_dump
+bin/db48/db_dump185
+bin/db48/db_hotbackup
+bin/db48/db_load
+bin/db48/db_printlog
+bin/db48/db_recover
+bin/db48/db_sql
+bin/db48/db_stat
+bin/db48/db_upgrade
+bin/db48/db_verify
+bin/db_archive-4.8
+bin/db_checkpoint-4.8
+bin/db_deadlock-4.8
+bin/db_dump-4.8
+bin/db_dump185-4.8
+bin/db_hotbackup-4.8
+bin/db_load-4.8
+bin/db_printlog-4.8
+bin/db_recover-4.8
+bin/db_sql-4.8
+bin/db_stat-4.8
+bin/db_upgrade-4.8
+bin/db_verify-4.8
+include/db48/db.h
+include/db48/db_185.h
+include/db48/db_cxx.h
+lib/db48/libdb-4.8.a
+lib/db48/libdb-4.8.la
+lib/db48/libdb-4.8.so
+lib/db48/libdb-4.8.so.0
+lib/db48/libdb-4.so
+lib/db48/libdb.a
+lib/db48/libdb.so
+lib/db48/libdb_cxx-4.8.a
+lib/db48/libdb_cxx-4.8.la
+lib/db48/libdb_cxx-4.8.so
+lib/db48/libdb_cxx-4.8.so.0
+lib/db48/libdb_cxx-4.so
+lib/db48/libdb_cxx.a
+lib/db48/libdb_cxx.so
+lib/libdb-4.8.so
+lib/libdb-4.8.so.0
+lib/libdb_cxx-4.8.so
+lib/libdb_cxx-4.8.so.0
+@dirrmtry lib/db48
+@dirrmtry include/db48
+@dirrmtry bin/db48