2000-08-26 08:43:51 -04:00
|
|
|
# ports collection makefile for: Berkeley DB v3
|
|
|
|
# Date created: 16 August 2000
|
|
|
|
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
1997-06-13 13:54:36 -04:00
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1997-06-13 13:54:36 -04:00
|
|
|
#
|
|
|
|
|
2000-08-26 08:43:51 -04:00
|
|
|
PORTNAME= db3
|
2001-02-02 07:37:59 -05:00
|
|
|
PORTVERSION= 3.2.9
|
2001-05-14 10:49:53 -04:00
|
|
|
PORTREVISION= 1
|
1997-06-13 13:54:36 -04:00
|
|
|
CATEGORIES= databases
|
2000-04-08 18:49:07 -04:00
|
|
|
MASTER_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
2000-08-26 08:43:51 -04:00
|
|
|
DISTNAME= db-${PORTVERSION}
|
1997-06-13 13:54:36 -04:00
|
|
|
|
2001-05-14 10:49:53 -04:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= patch.3.2.9.1 patch.3.2.9.2
|
|
|
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
|
|
|
2000-08-26 08:43:51 -04:00
|
|
|
MAINTAINER= ozz@FreeBSD.org.ru
|
1997-06-13 13:54:36 -04:00
|
|
|
|
2000-04-08 18:49:07 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 13:54:36 -04:00
|
|
|
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-22 12:48:51 -04:00
|
|
|
USE_LIBTOOL= yes
|
1997-06-13 13:54:36 -04:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
2000-09-22 12:48:51 -04:00
|
|
|
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
|
1997-06-13 13:54:36 -04:00
|
|
|
CONFIGURE_ARGS= --enable-compat185 \
|
2000-08-26 08:43:51 -04:00
|
|
|
--enable-dump185 --enable-cxx \
|
|
|
|
--enable-dynamic \
|
|
|
|
--prefix=${PREFIX} \
|
2000-09-22 12:48:51 -04:00
|
|
|
--includedir=${PREFIX}/include/db3 \
|
|
|
|
--target=$(ARCH)-unknown-freebsd$(OSREL)
|
|
|
|
|
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
1997-06-13 13:54:36 -04:00
|
|
|
|
2001-01-03 14:55:30 -05:00
|
|
|
post-patch:
|
|
|
|
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
1997-06-13 13:54:36 -04:00
|
|
|
.include <bsd.port.mk>
|