Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (25 sloc) 0.972 kb
# $NetBSD: Makefile,v 1.5 2012/07/29 16:02:45 fhajny Exp $
#
PKGNAME= poco-data-${POCO_VERSION}
CATEGORIES= databases
COMMENT= POCO C++ RDBMS Master 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+= --omit=Data/SQLite
CONFIGURE_ARGS+= --no-tests
CONFIGURE_ARGS+= --no-samples
USE_TOOLS+= pax
BUILD_DIRS= ${WRKSRC}/Data
INSTALLATION_DIRS= include/Poco/Data 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 && \
${PAX} -rw -v -pp include ${DESTDIR}${PREFIX}
.include "../../devel/poco/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.