1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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@
This commit is contained in:
Steven Kreuzer 2009-11-09 16:43:06 +00:00
parent 2bc96ba15e
commit c4701807ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244034
6 changed files with 124 additions and 0 deletions

View File

@ -38,6 +38,7 @@
SUBDIR += db45
SUBDIR += db46
SUBDIR += db47
SUBDIR += db48
SUBDIR += db4o-mono
SUBDIR += dbXML
SUBDIR += dbconnect

45
databases/db48/Makefile Normal file
View File

@ -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>

3
databases/db48/distinfo Normal file
View File

@ -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

View File

@ -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}"

11
databases/db48/pkg-descr Normal file
View File

@ -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

51
databases/db48/pkg-plist Normal file
View File

@ -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