c4701807ef
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@
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# 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>
|