2001-12-24 11:45:47 +01:00
|
|
|
# ports collection makefile for: Berkeley DB v4
|
2000-08-26 14:43:51 +02:00
|
|
|
# Date created: 16 August 2000
|
2002-08-21 23:04:12 +02:00
|
|
|
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
|
|
|
|
2001-12-24 11:45:47 +01:00
|
|
|
PORTNAME= db4
|
2003-01-05 05:11:23 +01:00
|
|
|
PORTVERSION= 4.0.14
|
|
|
|
PORTREVISION= 1
|
|
|
|
PORTEPOCH= 1
|
1997-06-13 19:54:36 +02:00
|
|
|
CATEGORIES= databases
|
2006-11-08 16:43:20 +01:00
|
|
|
MASTER_SITES= http://download-uk.oracle.com/berkeley-db/ \
|
2006-11-08 06:19:50 +01:00
|
|
|
http://download-west.oracle.com/berkeley-db/ \
|
2006-11-08 16:43:20 +01:00
|
|
|
http://download-east.oracle.com/berkeley-db/
|
2000-08-26 14:43:51 +02:00
|
|
|
DISTNAME= db-${PORTVERSION}
|
2001-07-24 18:19:23 +02:00
|
|
|
DIST_SUBDIR= bdb
|
2001-12-24 11:45:47 +01:00
|
|
|
|
2003-01-05 05:11:23 +01:00
|
|
|
MAINTAINER= matthias.andree@gmx.de
|
2003-02-21 12:15:57 +01:00
|
|
|
COMMENT= The Berkeley DB package, revision 4
|
2002-11-20 14:15:12 +01:00
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2002-11-20 14:15:12 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1997-06-13 19:54:36 +02:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-03 21:19:07 +01:00
|
|
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
2002-11-20 14:15:12 +01:00
|
|
|
--enable-cxx --enable-dynamic \
|
|
|
|
--includedir=${PREFIX}/include/db4
|
2006-11-08 06:19:50 +01:00
|
|
|
USE_LDCONFIG= yes
|
2000-09-22 18:48:51 +02:00
|
|
|
|
2002-11-20 14:15:12 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET= install install_docs
|
2004-05-05 21:49:53 +02:00
|
|
|
PORTDOCS= *
|
2002-11-20 14:15:12 +01:00
|
|
|
.endif
|
2001-08-01 13:51:53 +02:00
|
|
|
|
2003-01-06 12:00:27 +01:00
|
|
|
# the db install_docs target installs an empty directory, kill it
|
|
|
|
# (it's not packaged and it's not needed):
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${RMDIR} ${PREFIX}/share/doc/db4/ref/splash
|
|
|
|
.endif
|
|
|
|
|
2001-01-03 20:55:30 +01:00
|
|
|
post-patch:
|
2003-09-08 16:20:15 +02:00
|
|
|
@${REINPLACE_CMD} -Ee \
|
|
|
|
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-01-03 20:55:30 +01:00
|
|
|
|
1997-06-13 19:54:36 +02:00
|
|
|
.include <bsd.port.mk>
|