blob: 9441dad04f78121dcdd4ebe649f94dbb7324e645 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: db45
# Date created: 2007-05-10
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= db45
PORTVERSION= 4.5.20.0
CATEGORIES= databases
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/
PKGNAMEPREFIX?=
DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb
# I allow matthias.andree@gmx.de and all freebsd committer to do changes
# to this package.
MAINTAINER= gslin@gslin.org
COMMENT= The Berkeley DB package, revision 4.5
BDBVER= ${PORTVERSION:R:R}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
--enable-dynamic --enable-rpc --enable-pthread_api \
--includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
GNU_CONFIGURE= yes
INSTALL_TARGET= install_include install_lib install_utilities
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= *
.endif
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
.endfor
cd ${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
.include <bsd.port.mk>
|