37 lines
951 B
Makefile
37 lines
951 B
Makefile
# $NetBSD: Makefile,v 1.5 2012/10/03 09:10:38 asau Exp $
|
|
#
|
|
|
|
PKG_REVISION= 1
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
|
|
# XXX tools AND libraries
|
|
|
|
.include "Makefile.common"
|
|
|
|
.include "options.mk"
|
|
|
|
PKGCONFIG_OVERRIDE= libgda-4.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= libgda-report-4.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= libgda-ui-4.0.pc.in
|
|
|
|
PKG_SYSCONFSUBDIR= libgda
|
|
EGDIR= ${PREFIX}/share/examples/libgda-4.0
|
|
CONF_FILES+= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
|
|
|
|
CONFIGURE_ARGS+= --disable-crypto
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIG_SHELL= bash
|
|
|
|
SUBST_CLASSES+= local
|
|
SUBST_STAGE.local= post-patch
|
|
SUBST_FILES.local= configure
|
|
SUBST_SED.local+= -e "s|@LOCAL@|${PREFIX}|g"
|
|
SUBST_MESSAGE.local= "Fixing configure prefix."
|
|
|
|
# XXX also needs reportlab
|
|
REPLACE_PYTHON+= libgda-report/RML/trml2pdf/trml2pdf.py
|
|
REPLACE_PYTHON+= libgda-report/RML/trml2html/trml2html.py
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|