2001-12-24 10:45:47 +00:00
|
|
|
# ports collection makefile for: Berkeley DB v4
|
2000-08-26 12:43:51 +00:00
|
|
|
# Date created: 16 August 2000
|
2002-08-21 21:04:12 +00:00
|
|
|
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
1997-06-13 17:54:36 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-06-13 17:54:36 +00:00
|
|
|
#
|
|
|
|
|
2001-12-24 10:45:47 +00:00
|
|
|
PORTNAME= db4
|
2003-01-05 04:11:23 +00:00
|
|
|
PORTVERSION= 4.0.14
|
|
|
|
PORTREVISION= 1
|
|
|
|
PORTEPOCH= 1
|
1997-06-13 17:54:36 +00:00
|
|
|
CATEGORIES= databases
|
2010-11-12 09:03:26 +00:00
|
|
|
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
2000-08-26 12:43:51 +00:00
|
|
|
DISTNAME= db-${PORTVERSION}
|
2001-07-24 16:19:23 +00:00
|
|
|
DIST_SUBDIR= bdb
|
2001-12-24 10:45:47 +00:00
|
|
|
|
2010-06-13 11:57:36 +00:00
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
2003-02-21 11:15:57 +00:00
|
|
|
COMMENT= The Berkeley DB package, revision 4
|
2002-11-20 13:15:12 +00:00
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 17:54:36 +00:00
|
|
|
|
2002-11-20 13:15:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1997-06-13 17:54:36 +00:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
2003-01-03 20:19:07 +00:00
|
|
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
2002-11-20 13:15:12 +00:00
|
|
|
--enable-cxx --enable-dynamic \
|
|
|
|
--includedir=${PREFIX}/include/db4
|
2006-11-08 05:19:50 +00:00
|
|
|
USE_LDCONFIG= yes
|
2000-09-22 16:48:51 +00:00
|
|
|
|
2002-11-20 13:15:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET= install install_docs
|
2004-05-05 19:49:53 +00:00
|
|
|
PORTDOCS= *
|
2002-11-20 13:15:12 +00:00
|
|
|
.endif
|
2001-08-01 11:51:53 +00:00
|
|
|
|
2003-01-06 11:00:27 +00: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 19:55:30 +00:00
|
|
|
post-patch:
|
2003-09-08 14:20:15 +00:00
|
|
|
@${REINPLACE_CMD} -Ee \
|
|
|
|
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-01-03 19:55:30 +00:00
|
|
|
|
1997-06-13 17:54:36 +00:00
|
|
|
.include <bsd.port.mk>
|