openbsd-ports/graphics/dia/Makefile

77 lines
2.0 KiB
Makefile
Raw Normal View History

2010-03-20 12:53:22 -04:00
# $OpenBSD: Makefile,v 1.62 2010/03/20 16:53:22 ajacoutot Exp $
COMMENT= technical diagrams drawing tool
2000-09-10 17:56:04 -04:00
GNOME_PROJECT= dia
2010-03-20 12:53:22 -04:00
GNOME_VERSION= 0.97.1
2000-09-10 17:56:04 -04:00
CATEGORIES= graphics
2007-04-06 07:59:55 -04:00
HOMEPAGE= http://live.gnome.org/Dia/
2000-09-10 17:56:04 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
2000-09-10 17:56:04 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xml2 z
2005-11-14 06:52:21 -05:00
BUILD_DEPENDS= ::textproc/docbook-xsl
2006-09-18 07:50:39 -04:00
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
2006-08-02 06:10:35 -04:00
art_lgpl_2.>=5::graphics/libart \
xslt.>=3::textproc/libxslt
MODULES= devel/gettext \
x11/gnome \
lang/python
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-cairo \
--enable-db2html=no \
--with-hardbooks=no
2000-09-10 17:56:04 -04:00
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L:Mgnome}
CONFIGURE_ARGS+=--enable-gnome \
--with-python \
--with-swig
BUILD_DEPENDS+= ::devel/swig
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui \
${MODPY_LIB_DEPENDS}
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM bonobo-2 bonobo-activation
WANTLIB += bonoboui-2 crypto dbus-1 dbus-glib-1 gconf-2 gailutil
WANTLIB += gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 popt ssl
WANTLIB += util avahi-client avahi-common avahi-glib
MODGNOME_HELP_FILES= Yes
.else
# help is only installed and usable with yelp
PATCH_LIST= patch-* no_gnome-patch-*
CONFIGURE_ARGS+=--disable-gnome \
--without-python \
--without-swig
RUN_DEPENDS+= ::devel/xdg-utils
MODPY_RUNDEP= No
.endif
pre-configure:
${SUBST_CMD} ${WRKSRC}/app/commands.c \
${WRKSRC}/po-checktrans.py
2000-09-10 17:56:04 -04:00
.include <bsd.port.mk>