summaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-08-23 23:14:21 +0000
committertron <tron@pkgsrc.org>2000-08-23 23:14:21 +0000
commitf0b9164cf1068dd6dc3d7a77da6b33ac09689177 (patch)
tree623953a643a6181e26e24311ef14ff20193779e7 /graphics/libwmf
parent3587744105d1c40ee4f94fcd5c50335818522169 (diff)
downloadpkgsrc-f0b9164cf1068dd6dc3d7a77da6b33ac09689177.tar.gz
Use "USE_XPM" option instead of direct dependence on the "xpm" package.
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 103dc85f65c..3429c6471f4 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/08/06 14:18:32 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2000/08/23 23:14:29 tron Exp $
#
DISTNAME= libwmf-0.1.17
@@ -12,13 +12,10 @@ HOMEPAGE= http://www.csn.ul.ie/~caolan/docs/libwmf.html
BUILD_DEPENDS+= autoconf:../../devel/autoconf
DEPENDS+= freetype-lib>=1.3.1:../../graphics/freetype-lib
DEPENDS+= png>=1.0.6:../../graphics/png
-DEPENDS+= xpm-3.4k:../../graphics/xpm
-
-WRKSRC= ${WRKDIR}/libwmf
-USE_X11= # defined
-
-GNU_CONFIGURE= # defined
+USE_X11= YES
+USE_XPM= YES
+GNU_CONFIGURE= YES
EVAL_PREFIX+= XPMDIR=xpm
CONFIGURE_ARGS+= --includedir="${PREFIX}/include/libwmf"
CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
@@ -27,9 +24,9 @@ CONFIGURE_ARGS+= --with-xpm="${XPMDIR}"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include # png.h
-
INCLUDEDIR= ${PREFIX}/include/libwmf
HTMLDIR= ${PREFIX}/share/doc/html/libwmf
+WRKSRC= ${WRKDIR}/libwmf
pre-configure:
cd ${WRKSRC} && autoconf