freebsd-ports/databases/db2/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# ports collection makefile for: Berkeley DB
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
1999-08-25 07:28:01 +02:00
# $FreeBSD$
#
2004-01-29 12:53:00 +01:00
PORTNAME= db2
PORTVERSION= 2.7.7
PORTREVISION= 1
CATEGORIES= databases
#MASTER_SITES= http://www.sleepycat.com/update/snapshot/
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../src/misc
2004-01-31 01:46:18 +01:00
DISTNAME= db-${PORTVERSION}
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
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx
.if !defined(NOPORTDOCS)
PORTDOCS= *
INSTALL_TARGET= install install_docs
.endif
post-install:
@-${RM} -fr ${PREFIX}/share/examples/db2
${MKDIR} ${PREFIX}/share/examples/db2
1999-03-29 02:08:32 +02:00
cd ${WRKSRC}/..; \
${TAR} -cf - --exclude tags examples/ examples_cxx/ examples_java/. \
| ( cd ${PREFIX}/share/examples/db2; ${TAR} xf - )
@${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."
.include <bsd.port.mk>