pkgsrc/devel/poco/Makefile

31 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2013/02/06 23:21:03 jperkin Exp $
#
PKGNAME= poco-${POCO_VERSION}
PKGREVISION= 3
CATEGORIES= devel
COMMENT= POCO C++ Foundation libraries
.include "../../devel/poco/Makefile.common"
CONFIGURE_ARGS+= --library-path=${BUILDLINK_PREFIX.expat}/lib
CONFIGURE_ARGS+= --library-path=${BUILDLINK_PREFIX.pcre}/lib
CONFIGURE_ARGS+= --library-path=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --library-path=${BUILDLINK_PREFIX.openssl}/lib
CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.expat}/include
CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.pcre}/include
CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.openssl}/include
# remove patch backup files.
pre-install:
${RM} -f ${WRKSRC}/Foundation/include/Poco/Platform.h.orig
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"