60 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.46 2007/05/07 13:05:10 ajacoutot Exp $
2003-12-08 01:09:15 +00:00
COMMENT= "technical diagrams drawing tool"
2000-09-10 21:56:04 +00:00
2007-04-06 10:10:01 +00:00
DISTNAME= dia-0.96.1
PKGNAME= ${DISTNAME}p1
2000-09-10 21:56:04 +00:00
CATEGORIES= graphics
2007-04-06 11:59:55 +00:00
HOMEPAGE= http://live.gnome.org/Dia/
2000-09-10 21:56:04 +00:00
2007-04-06 10:10:01 +00:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.96/}
2000-09-10 21:56:04 +00:00
# GPL
2000-09-10 21:56:04 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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 11:52:21 +00:00
2006-12-16 12:22:32 +00:00
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
::textproc/docbook-xsl
2006-09-18 11:50:39 +00:00
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
2006-08-02 10:10:35 +00:00
art_lgpl_2.>=5::graphics/libart \
popt::devel/popt \
2006-08-02 10:10:35 +00:00
xslt.>=1::textproc/libxslt
MODULES= devel/gettext
2006-11-13 11:20:24 +00:00
USE_X11= Yes
2001-10-05 18:27:35 +00:00
USE_GMAKE= Yes
2006-11-03 22:18:41 +00:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LOCALBASE=${LOCALBASE}
2000-09-10 21:56:04 +00:00
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L:Mgnome}
CONFIGURE_ARGS+= --enable-gnome
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui
2006-09-18 11:50:39 +00:00
WANTLIB+= gthread-2.0 gnomevfs-2 ORBitCosNaming-2 crypto \
audiofile bonobo-activation jpeg bonobo-2 gconf-2 \
ICE bonoboui-2 gnomecanvas-2 SM ORBit-2 pthread esd \
ssl gnome-2 gnome-keyring dbus-1 dbus-glib-1 util
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
post-configure:
@rm -f ${WRKSRC}/doc/en/dia.1
2000-09-10 21:56:04 +00:00
.include <bsd.port.mk>