openbsd-ports/graphics/dia/Makefile

58 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.33 2005/11/15 09:21:51 wilfried Exp $
2003-12-07 20:09:15 -05:00
COMMENT= "technical diagrams drawing tool"
2000-09-10 17:56:04 -04:00
DISTNAME= dia-0.94
PKGNAME= ${DISTNAME}p2
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
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.94/}
2000-09-10 17:56:04 -04: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
2005-11-14 06:52:21 -05:00
WANTLIB= X11 Xext Xrender atk-1.0.0.0 c png z xml2 \
2004-11-29 20:06:33 -05:00
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 \
2005-11-14 06:52:21 -05:00
pangoft2-1.0.0.0 cairo glitz pangocairo-1.0.0.0
2000-09-10 17:56:04 -04:00
2005-11-14 06:52:21 -05:00
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
:p5-XML-Parser-*:textproc/p5-XML-Parser \
::textproc/docbook-xsl
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 \
art_lgpl_2.5::graphics/libart \
popt::devel/popt \
xslt.1::textproc/libxslt
2001-10-05 14:27:35 -04:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LOCALBASE=${LOCALBASE}
2000-09-10 17:56:04 -04:00
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L:Mgnome}
CONFIGURE_ARGS+= --enable-gnome
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui
WANTLIB+= gthread-2.0.0.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
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
post-configure:
@rm -f ${WRKSRC}/doc/en/dia.1
2000-09-10 17:56:04 -04:00
.include <bsd.port.mk>