f578d61a2c
configure script and avoid surprises (this also lets autoheader work as well).
29 lines
792 B
Makefile
29 lines
792 B
Makefile
# $OpenBSD: Makefile,v 1.7 2004/02/26 16:40:11 espie Exp $
|
|
|
|
COMMENT= "WMF handling and conversion library"
|
|
|
|
DISTNAME= libwmf-0.2.6
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
|
|
|
|
HOMEPAGE= http://www.wvware.com/
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIB_DEPENDS= xml2::textproc/libxml \
|
|
jpeg.62::graphics/jpeg \
|
|
png.2::graphics/png
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION=2.54
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
|
|
CONFIGURE_ARGS+= --with-png=${LOCALBASE} --with-freetype=${X11BASE}
|
|
CONFIGURE_ARGS+= --with-jpeg=${LOCALBASE} --with-zlib=/usr
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng"
|
|
|
|
.include <bsd.port.mk>
|