2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
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
|
2010-11-12 10:03:26 +01:00
|
|
|
MASTER_SITES= http://download.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
|
|
|
|
2013-12-16 21:46:12 +01:00
|
|
|
DEPRECATED= Please use databases/db5 or db6 for new installs.
|
2013-12-14 00:27:33 +01:00
|
|
|
|
2014-07-05 01:48:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
|
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
|
|
|
|
2014-07-05 01:46:52 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-11-20 14:15:12 +01:00
|
|
|
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
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2003-01-06 12:00:27 +01:00
|
|
|
# (it's not packaged and it's not needed):
|
2014-07-05 01:46:52 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-01-06 12:00:27 +01:00
|
|
|
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>
|