0ed370d43b
+ Put documentation under ${PREFIX}/share/doc instead of ${PREFIX}/share/doc/html. Packages that install documentation under the "html" directory are supposed to move them to the "doc" directory when they're updated, but these packages are basically EOL'ed so just move them now. + Add full DESTDIR support. Bump the PKGREVISION of databases/db to 3 and databases/db3 to 4.
29 lines
835 B
Makefile
29 lines
835 B
Makefile
# $NetBSD: Makefile,v 1.30 2008/02/21 19:32:23 jlam Exp $
|
|
|
|
DISTNAME= db-2.7.7
|
|
PKGREVISION= 3
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.oracle.com/database/berkeley-db.html
|
|
COMMENT= Sleepycat Software's Berkeley DB version 2
|
|
|
|
NO_PKGTOOLS_REQD_CHECK= yes # (needed for pkgtools/pkg_install)
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
CONFIGURE_ARGS+= --program-transform-name=s,db_,db2_,
|
|
CONFIGURE_ARGS+= --enable-compat185
|
|
|
|
INSTALLATION_DIRS= bin include/db2 lib share/doc/db2
|
|
|
|
post-install:
|
|
${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/doc/db2
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|