openbsd-ports/graphics/dia/Makefile

37 lines
928 B
Makefile

# $OpenBSD: Makefile,v 1.12 2001/10/12 16:25:33 espie Exp $
COMMENT= visio-like technical drawing
DISTNAME= dia-0.88.1
CATEGORIES= graphics
NEED_VERSION= 1.409
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/dia
HOMEPAGE= http://www.lysator.liu.se/~alla/dia/
LIB_DEPENDS= gdk_pixbuf.2::graphics/gdk-pixbuf \
art_lgpl.5::graphics/libart \
popt::devel/popt \
xml2.6::textproc/libxml
MAINTAINER= Mark Grimes <obecian@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV+= XML_CONFIG=xml2-config
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
patch-*
.include <bsd.port.mk>