openbsd-ports/databases/libdbi/Makefile
merdely db9a3d6e03 import libdbi
libdbi implements a database-independent abstraction layer in C, similar
to the DBI/DBD layer in Perl. Writing one generic set of code,
programmers can leverage the power of multiple databases and multiple
simultaneous database connections by using this framework.

ok wcmaier@
2009-06-02 00:57:57 +00:00

34 lines
996 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/06/02 00:57:57 merdely Exp $
COMMENT = database-independent abstraction layer
DISTNAME = libdbi-0.8.3
CATEGORIES = databases
SHARED_LIBS += dbi 0.0 # .0.5
HOMEPAGE = http://libdbi.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libdbi/}
MAINTAINER = Michael Erdely <merdely@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
WANTLIB = m
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdbi
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${PREFIX}/share/doc/libdbi
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdbi/driver-guide
${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html \
${PREFIX}/share/doc/libdbi/driver-guide
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdbi/programmers-guide
${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html \
${PREFIX}/share/doc/libdbi/programmers-guide
.include <bsd.port.mk>