blob: 86016d3c95af2918295049d6abbf5248328f38e1 (
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
|
# Created by: nork@cityfujisawa.ne.jp
# $FreeBSD$
PORTNAME= DBD-SQLite
PORTVERSION= 1.54
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Provides access to SQLite3 databases through the DBI
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-DBI>=1.57:databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTSCOUT= limit:^[0-9\.]*$$
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= BUNDLED_SQLITE
OPTIONS_DEFAULT=BUNDLED_SQLITE
BUNDLED_SQLITE_DESC= Use bundled SQLite (otherwise, from databases/sqlite3)
BUNDLED_SQLITE_LIB_DEPENDS_OFF= libsqlite3.so:databases/sqlite3
BUNDLED_SQLITE_CONFIGURE_OFF= USE_LOCAL_SQLITE=0 SQLITE_LOCATION=${LOCALBASE}
post-patch-BUNDLED_SQLITE-off:
${REINPLACE_CMD} -e 's/if ( 0 )/if ( 1 )/' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/SQLite/SQLite.so
.include <bsd.port.mk>
|