2001-12-24 11:45:47 +01:00
|
|
|
# ports collection makefile for: Berkeley DB v4
|
2000-08-26 14:43:51 +02:00
|
|
|
# Date created: 16 August 2000
|
|
|
|
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
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
|
|
|
|
PORTVERSION= 4.0.14
|
|
|
|
#PORTREVISION= 2
|
|
|
|
#PORTEPOCH= 1
|
1997-06-13 19:54:36 +02:00
|
|
|
CATEGORIES= databases
|
2000-04-09 00:49:07 +02:00
|
|
|
MASTER_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
2000-08-26 14:43:51 +02:00
|
|
|
DISTNAME= db-${PORTVERSION}
|
2001-07-24 18:19:23 +02:00
|
|
|
DIST_SUBDIR= bdb
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2000-08-26 14:43:51 +02:00
|
|
|
MAINTAINER= ozz@FreeBSD.org.ru
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2001-12-24 11:45:47 +01:00
|
|
|
#PATCH_SITES= ${MASTER_SITES}
|
|
|
|
#PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2
|
|
|
|
#PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 19:54:36 +02:00
|
|
|
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-12-24 11:45:47 +01:00
|
|
|
HAS_CONFIGURE= yes
|
1997-06-13 19:54:36 +02:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
|
|
CONFIGURE_ARGS= --enable-compat185 \
|
2000-08-26 14:43:51 +02:00
|
|
|
--enable-dump185 --enable-cxx \
|
2001-08-01 13:51:53 +02:00
|
|
|
--enable-dynamic \
|
2000-08-26 14:43:51 +02:00
|
|
|
--prefix=${PREFIX} \
|
2001-12-24 11:45:47 +01:00
|
|
|
--includedir=${PREFIX}/include/db4 \
|
2001-07-24 18:19:23 +02:00
|
|
|
--target=${ARCH}-unknown-freebsd${OSREL}
|
2000-09-22 18:48:51 +02:00
|
|
|
|
2001-08-01 13:51:53 +02:00
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
2001-01-03 20:55:30 +01:00
|
|
|
post-patch:
|
|
|
|
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-10-07 19:04:00 +02:00
|
|
|
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure
|
2001-01-03 20:55:30 +01:00
|
|
|
|
1997-06-13 19:54:36 +02:00
|
|
|
.include <bsd.port.mk>
|