blob: 03a3808a123dfdd779ef9f4fc687b18ae8a68b27 (
plain) (
tree)
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/databases/glom/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= glom
PORTVERSION= 1.24.0
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= kwm@FreeBSD.org
COMMENT= GNOME database designer and user interface
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
libepc>=0.4.0:${PORTSDIR}/www/libepc \
${LOCALBASE}/libdata/pkgconfig/libgda-mysql-5.0.pc:${PORTSDIR}/databases/libgda5-mysql \
${LOCALBASE}/libdata/pkgconfig/libgda-postgres-5.0.pc:${PORTSDIR}/databases/libgda5-postgresql
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
epc-1.0:${PORTSDIR}/www/libepc \
goocanvasmm-2.0:${PORTSDIR}/graphics/goocanvasmm2 \
evview3:${PORTSDIR}/graphics/evince3
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/libdata/pkgconfig/libgda-mysql-5.0.pc:${PORTSDIR}/databases/libgda5-mysql \
${LOCALBASE}/libdata/pkgconfig/libgda-postgres-5.0.pc:${PORTSDIR}/databases/libgda5-postgresql
USE_XZ= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
USES= gettext pathfix pkgconfig shared-mime-info desktop-file-utils
USE_GMAKE= yes
USE_GNOME= gnomedocutils gnomeprefix intltool pygobject3 libxml2 \
gtksourceviewmm3 libgdamm5
USE_LDCONFIG= yes
USE_PGSQL= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-postgres-utils=${LOCALBASE}/bin \
--disable-documentation
INSTALLS_ICONS= yes
.include <bsd.port.options.mk>
PLIST_SUB+= VERSION=${PORTVERSION:R}
#PLIST_SUB+= VERSION=1.24
# We need postgreSQL tools the server installs, and configure checks for these.
# Note: USE_PGSQL has already been set above.
BUILD_DEPENDS+= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
RUN_DEPENDS+= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
post-patch:
@${REINPLACE_CMD} -e 's|-update-mime-database|true|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|std::locale("")|std::locale()|g' \
${WRKSRC}/glom/libglom/data_structure/glomconversions.cc \
${WRKSRC}/glom/libglom/data_structure/glomconversions.h \
${WRKSRC}/glom/libglom/utils.cc \
${WRKSRC}/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc \
${WRKSRC}/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc \
${WRKSRC}/glom/main.cc
.include <bsd.port.mk>
|