summaryrefslogtreecommitdiff
path: root/graphics/mng/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-02-20 00:51:27 +0000
committerwiz <wiz@pkgsrc.org>2005-02-20 00:51:27 +0000
commita85125de201588a8d27ae6e7459edbb835c0c5d9 (patch)
treec6b55576d5f9cd1771923f5c1c56586ee5fa3542 /graphics/mng/Makefile
parent65d00fcd9c2f26b2bf27e1ac6d642408639de3d6 (diff)
downloadpkgsrc-a85125de201588a8d27ae6e7459edbb835c0c5d9.tar.gz
Switch to using the zipfile instead of the tar.gz,
in the expectation that it fixes the build on 1.6.x. No change in the source code.
Diffstat (limited to 'graphics/mng/Makefile')
-rw-r--r--graphics/mng/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile
index 1fc1fd013ed..9643e89aeea 100644
--- a/graphics/mng/Makefile
+++ b/graphics/mng/Makefile
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.22 2005/02/09 20:15:50 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2005/02/20 00:51:27 wiz Exp $
-DISTNAME= libmng-1.0.9
-PKGNAME= ${DISTNAME:S/lib//}
+DISTNAME= lm1009
+PKGNAME= mng-1.0.9
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/} \
http://www.3-t.com/libmng/download/ \
http://www.libmng.com/download/
+# this is just a workaround because the 1.0.9 tar.gz is broken
+EXTRACT_SUFX= .zip
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.libmng.com/
@@ -18,6 +20,10 @@ USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+# only needed as long as we use the zip distfile
+EXTRACT_CMD_OPTS.zip?= -aqo
+WRKSRC= ${WRKDIR}/libmng
+
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_PREFIX.lcms}
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.lcms}