openbsd-ports/graphics/dia/Makefile
2004-07-06 10:10:54 +00:00

39 lines
982 B
Makefile

# $OpenBSD: Makefile,v 1.25 2004/07/06 10:10:54 xsa Exp $
COMMENT= "technical diagrams drawing tool"
DISTNAME= dia-0.92.2
CATEGORIES= graphics
HOMEPAGE= http://www.gnome.org/projects/dia/
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.92/}
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
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 \
xml2.6::textproc/libxml \
unicode.0::devel/libunicode
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.57
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-static --disable-gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>