2007-07-30 13:02:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2007/07/30 17:02:11 ajacoutot Exp $
|
2001-04-07 03:58:42 -04:00
|
|
|
|
2007-07-30 13:02:11 -04:00
|
|
|
COMMENT= technical diagrams drawing tool
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2007-04-06 06:10:01 -04:00
|
|
|
DISTNAME= dia-0.96.1
|
2007-07-30 13:02:11 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
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
|
|
|
|
2007-04-06 06:10:01 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.96/}
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2002-11-20 21:33:59 -05:00
|
|
|
# GPL
|
2000-09-10 17:56:04 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-05-07 09:05:10 -04:00
|
|
|
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
|
|
|
Xrender atk-1.0 c cairo expat fontconfig freetype \
|
|
|
|
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 m \
|
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread xml2 z
|
2005-11-14 06:52:21 -05:00
|
|
|
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
|
2005-07-17 03:50:32 -04:00
|
|
|
::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 \
|
2002-12-18 20:30:37 -05:00
|
|
|
popt::devel/popt \
|
2006-08-02 06:10:35 -04:00
|
|
|
xslt.>=1::textproc/libxslt
|
2007-07-30 13:02:11 -04:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2002-12-18 20:30:37 -05:00
|
|
|
|
2006-01-20 02:15:22 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2001-10-05 14:27:35 -04:00
|
|
|
USE_GMAKE= Yes
|
2006-11-03 17:18:41 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-11-07 11:16:31 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-12-18 20:30:37 -05:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
|
|
|
|
-I${LOCALBASE}/include" \
|
2005-07-17 03:50:32 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LOCALBASE=${LOCALBASE}
|
2007-07-30 13:02:11 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--without-cairo \
|
|
|
|
--without-gnomeprint \
|
|
|
|
--without-python
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2004-12-22 01:01:23 -05:00
|
|
|
FLAVORS= gnome
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnome}
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
|
|
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui
|
2006-09-18 07:50:39 -04:00
|
|
|
WANTLIB+= gthread-2.0 gnomevfs-2 ORBitCosNaming-2 crypto \
|
2005-07-17 03:50:32 -04:00
|
|
|
audiofile bonobo-activation jpeg bonobo-2 gconf-2 \
|
|
|
|
ICE bonoboui-2 gnomecanvas-2 SM ORBit-2 pthread esd \
|
2007-05-07 09:05:10 -04:00
|
|
|
ssl gnome-2 gnome-keyring dbus-1 dbus-glib-1 util
|
2004-12-22 01:01:23 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
|
|
|
.endif
|
|
|
|
|
2005-07-17 03:50:32 -04:00
|
|
|
post-configure:
|
|
|
|
@rm -f ${WRKSRC}/doc/en/dia.1
|
|
|
|
|
2000-09-10 17:56:04 -04:00
|
|
|
.include <bsd.port.mk>
|