28 lines
732 B
Text
28 lines
732 B
Text
|
# Template file for 'db185'
|
||
|
pkgname=db185
|
||
|
version=1.85
|
||
|
revision=1
|
||
|
wrksrc="db.${version}"
|
||
|
short_desc="The Original Berkeley DB 1.85"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
license="BSD"
|
||
|
homepage="http://download.oracle.com/berkeley-db"
|
||
|
distfiles="http://download.oracle.com/berkeley-db/db.${version}.tar.gz"
|
||
|
checksum=4220d4ddeb77fb57ba2f37c1aa105d561d3ef85a6fb89c79c3edd735d0e193c6
|
||
|
|
||
|
# This is a development pkg explicitly, mostly to avoid the libdb
|
||
|
# dependency in mdocml.
|
||
|
conflicts="db-devel>=0"
|
||
|
|
||
|
do_build() {
|
||
|
cd PORT/linux
|
||
|
make CC=$CC ${makejobs}
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
vinstall PORT/include/db.h 644 usr/include
|
||
|
vinstall PORT/linux/libdb.a 644 usr/lib
|
||
|
# Create db_185.h for compat.
|
||
|
ln -s db.h ${DESTDIR}/usr/include/db_185.h
|
||
|
}
|