summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/mng/Makefile12
-rw-r--r--graphics/mng/distinfo6
2 files changed, 12 insertions, 6 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}
diff --git a/graphics/mng/distinfo b/graphics/mng/distinfo
index 0de2278854d..b1b8ccb0f90 100644
--- a/graphics/mng/distinfo
+++ b/graphics/mng/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/02/09 20:15:50 wiz Exp $
+$NetBSD: distinfo,v 1.9 2005/02/20 00:51:28 wiz Exp $
-SHA1 (libmng-1.0.9.tar.gz) = d32e939ec95caff7839c6c9a5896e4d575c77d35
-Size (libmng-1.0.9.tar.gz) = 554848 bytes
+SHA1 (lm1009.zip) = ddcf839e9030c5cbea23a0e3ef14d44dc1f48a02
+Size (lm1009.zip) = 1010727 bytes