summaryrefslogtreecommitdiffstats
path: root/databases/glom/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-18 22:55:52 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-18 22:55:52 +0800
commit85d061a252f1ea7c1388d2a3b26573d70d97d9a6 (patch)
treee5ffa84b63584196ce39d0cee78dd3d3b779dd6e /databases/glom/Makefile
parent71429808888b8ba903e7575e1f3400b81d672db2 (diff)
downloadmarcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar.gz
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar.bz2
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar.lz
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar.xz
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.tar.zst
marcuscom-ports-85d061a252f1ea7c1388d2a3b26573d70d97d9a6.zip
Add glom 1.19.13.
Gtk3 flavour of the postgreSQL db editor. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16465 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/glom/Makefile')
-rw-r--r--databases/glom/Makefile68
1 files changed, 68 insertions, 0 deletions
diff --git a/databases/glom/Makefile b/databases/glom/Makefile
new file mode 100644
index 000000000..497314ba9
--- /dev/null
+++ b/databases/glom/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: glom
+# Date created: 24 April, 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= glom
+PORTVERSION= 1.19.13
+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 \
+ ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-5.0.pc:${PORTSDIR}/databases/libgda5-postgresql
+LIB_DEPENDS= gdamm-5.0.13:${PORTSDIR}/databases/libgdamm5 \
+ boost_python.4:${PORTSDIR}/devel/boost-python-libs \
+ gtksourceviewmm-3.0.0:${PORTSDIR}/x11-toolkits/gtksourceviewmm3 \
+ epc-1.0.3:${PORTSDIR}/www/libepc \
+ goocanvasmm-2.0.6:${PORTSDIR}/graphics/goocanvasmm2 \
+ evview3.3:${PORTSDIR}/graphics/evince3
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
+ ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-5.0.pc:${PORTSDIR}/databases/libgda5-postgresql
+
+USE_XZ= yes
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnomedocutils gnomehack gnomeprefix intltool pygobject3 libxml2
+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.20
+
+# 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
+
+
+post-install:
+ @-update-mime-database ${PREFIX}/share/mime
+
+.include <bsd.port.mk>