2009-01-24 12:42:22 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2009/01/24 17:42:22 simon Exp $
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2006-12-10 18:17:42 -05:00
|
|
|
SHARED_ONLY= Yes
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2007-09-15 18:27:38 -04:00
|
|
|
COMMENT= SQLite drivers for the Perl DBI
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2006-12-10 18:17:42 -05:00
|
|
|
MODULES= cpan
|
2007-09-21 17:33:26 -04:00
|
|
|
DISTNAME= DBD-SQLite-1.14
|
2009-01-24 12:42:22 -05:00
|
|
|
PKGNAME= p5-${DISTNAME}p1v0
|
2007-09-21 17:33:26 -04:00
|
|
|
CATEGORIES= databases
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2004-04-18 02:41:11 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2004-04-08 17:02:33 -04:00
|
|
|
|
|
|
|
# artistic
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
|
|
|
|
RUN_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
|
2009-01-24 12:42:22 -05:00
|
|
|
LIB_DEPENDS= sqlite3:sqlite3->=3.6.4:databases/sqlite3
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2006-05-10 07:38:08 -04:00
|
|
|
CONFIGURE_ARGS= SQLITE_LOCATION=${LOCALBASE}
|
2004-11-24 15:32:23 -05:00
|
|
|
MAKE_FLAGS= CC='${CC}' \
|
|
|
|
LD='${CC}'
|
2004-04-08 17:02:33 -04:00
|
|
|
|
2009-01-24 12:42:22 -05:00
|
|
|
# as DBD::SQLite bundles sqlite3, our patches can't use functions from newer
|
|
|
|
# versions installed via ports
|
|
|
|
post-extract:
|
|
|
|
rm -f ${WRKSRC}/sqlite3.h ${WRKSRC}/sqlite3ext.h
|
|
|
|
|
2004-04-08 17:02:33 -04:00
|
|
|
.include <bsd.port.mk>
|