blob: 7b784d2ba75fde0e897f2a00a35975324ced1dd7 (
plain)
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
|
# $NetBSD: Makefile,v 1.14 2014/04/09 07:26:58 obache Exp $
#
PKGNAME= poco-data-sqlite-${POCO_VERSION}
PKGREVISION= 8
CATEGORIES= databases
COMMENT= POCO C++ SQLite RDBMS Accessor libraries
.include "../../devel/poco/Makefile.common"
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --omit=Data/MySQL,Data/ODBC,Zip,XML
CONFIGURE_ARGS+= --omit=Foundation,Net,NetSSL_OpenSSL
CONFIGURE_ARGS+= --no-tests
CONFIGURE_ARGS+= --no-samples
USE_TOOLS+= pax
BUILD_DIRS= Data/SQLite
INSTALLATION_DIRS= include/Poco/Data/SQLite lib
do-install:
# using the same logic as Poco's Makefile install target.
cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
${DESTDIR}${PREFIX}/lib \;
cd ${WRKSRC} && find lib -name 'libPoco*' -type l -exec cp -Rf {} \
${DESTDIR}${PREFIX}/lib \;
cd ${WRKSRC}/Data/SQLite && \
${PAX} -rw -v -pp include ${DESTDIR}${PREFIX}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../databases/poco-data/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|