1997-06-13 19:54:36 +02:00
|
|
|
# ports collection makefile for: Berkeley DB
|
1998-01-26 19:43:21 +01:00
|
|
|
# Date created: 26 Jan 1998
|
1997-06-13 19:54:36 +02:00
|
|
|
# Whom: Josh Tiefenbach <josh@ican.net>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
|
|
|
|
2004-01-29 12:53:00 +01:00
|
|
|
PORTNAME= db2
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTVERSION= 2.7.7
|
2002-08-14 10:50:33 +02:00
|
|
|
PORTREVISION= 1
|
1997-06-13 19:54:36 +02:00
|
|
|
CATEGORIES= databases
|
2004-05-05 21:43:50 +02:00
|
|
|
#MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
2006-05-25 00:03:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= ../../src/misc
|
2004-01-31 01:46:18 +01:00
|
|
|
DISTNAME= db-${PORTVERSION}
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2002-09-07 10:44:49 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= The Berkeley DB package, revision 2
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-16 12:38:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1997-06-13 19:54:36 +02:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
|
|
CONFIGURE_ARGS= --enable-compat185 \
|
1997-10-03 16:13:24 +02:00
|
|
|
--enable-dump185 --enable-cxx
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2004-05-05 21:43:50 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
INSTALL_TARGET= install install_docs
|
|
|
|
.endif
|
|
|
|
|
1997-10-03 16:13:24 +02:00
|
|
|
post-install:
|
2002-08-14 10:48:43 +02:00
|
|
|
@-${RM} -fr ${PREFIX}/share/examples/db2
|
1999-07-10 16:05:30 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/db2
|
1999-03-29 02:08:32 +02:00
|
|
|
cd ${WRKSRC}/..; \
|
2004-04-07 15:26:20 +02:00
|
|
|
${TAR} -cf - --exclude tags examples/ examples_cxx/ examples_java/. \
|
|
|
|
| ( cd ${PREFIX}/share/examples/db2; ${TAR} xf - )
|
1999-08-27 23:14:04 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you"
|
|
|
|
@${ECHO_MSG} "have a working copy of the JDK (v1.1) installed."
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "To build java support, please read:"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "${WRKDIR}/${DISTNAME}/java/README"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "and follow the directions therein."
|
1997-06-13 19:54:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|