2005-02-07 14:01:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2005/02/07 19:01:48 pvalchev Exp $
|
2001-04-07 03:58:42 -04:00
|
|
|
|
2003-12-07 20:09:15 -05:00
|
|
|
COMMENT= "technical diagrams drawing tool"
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2004-12-22 01:01:23 -05:00
|
|
|
DISTNAME= dia-0.94
|
2000-09-10 17:56:04 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2004-07-06 06:10:54 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/dia/
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2004-12-22 01:01:23 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.94/}
|
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
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= X11 Xext Xft Xinerama Xrender atk-1.0.0.0 c \
|
|
|
|
fontconfig freetype glib-2.0.0.0 gmodule-2.0.0.0 \
|
|
|
|
gobject-2.0.0.0 iconv intl m pango-1.0.0.0 \
|
|
|
|
pangoft2-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 \
|
2005-01-23 11:13:06 -05:00
|
|
|
png z Xcursor xml2
|
2000-09-10 17:56:04 -04:00
|
|
|
|
2005-01-23 11:13:06 -05:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
2003-12-07 20:09:15 -05:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
2002-12-18 20:30:37 -05:00
|
|
|
art_lgpl_2.5::graphics/libart \
|
|
|
|
popt::devel/popt \
|
2004-12-22 01:01:23 -05:00
|
|
|
xslt.1::textproc/libxslt
|
2002-12-18 20:30:37 -05:00
|
|
|
|
2001-10-05 14:27:35 -04:00
|
|
|
USE_GMAKE= 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" \
|
2001-10-05 14:27:35 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
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
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
|
|
|
.endif
|
|
|
|
|
2000-09-10 17:56:04 -04:00
|
|
|
.include <bsd.port.mk>
|