summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-03-07 08:34:52 +0000
committerskrll <skrll@pkgsrc.org>2001-03-07 08:34:52 +0000
commit964912e126ddbf369576f75f4a232a5e79c0e14a (patch)
treef8e1fa5688c26822c66e37571c5c438bf4fae6cf /graphics
parentadaa1d0efa454ad96335dafb3eb4c464addd2cbf (diff)
downloadpkgsrc-964912e126ddbf369576f75f4a232a5e79c0e14a.tar.gz
Import of the Multiple-image Network Graphics (MNG) reference library
From Nathan Ahlstrom <nrahlstr@winternet.com> in pkg/12343 with modifications from me.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mng/Makefile24
-rw-r--r--graphics/mng/files/md53
-rw-r--r--graphics/mng/files/patch-sum3
-rw-r--r--graphics/mng/patches/patch-aa27
-rw-r--r--graphics/mng/pkg/DESCR5
-rw-r--r--graphics/mng/pkg/PLIST9
6 files changed, 71 insertions, 0 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile
new file mode 100644
index 00000000000..e6dcd4c0f76
--- /dev/null
+++ b/graphics/mng/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+
+DISTNAME= libmng-1.0.0
+PKGNAME= ${DISTNAME:S/lib//}
+CATEGORIES= graphics
+MASTER_SITES= http://www.3-t.com/libmng/download/ \
+ ${MASTER_SITE_SOURCEFORGE:=libmng/} \
+ http://www.libmng.com/download/
+
+MAINTAINER= packages@netbsd.com
+HOMEPAGE= http://www.libmng.com/
+COMMENT= Multiple-image Network Graphics (MNG) reference library
+
+DEPENDS+= jpeg-6b:../../graphics/jpeg
+DEPENDS+= lcms>=1.06:../../graphics/lcms
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+CONFIGURE_ARGS= --with-jpeg=${PREFIX} \
+ --with-lcms=${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mng/files/md5 b/graphics/mng/files/md5
new file mode 100644
index 00000000000..14264f47ffc
--- /dev/null
+++ b/graphics/mng/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+
+MD5 (libmng-1.0.0.tar.gz) = 54c9cb5bf9aa5f76dfa4d63cddea539a
diff --git a/graphics/mng/files/patch-sum b/graphics/mng/files/patch-sum
new file mode 100644
index 00000000000..f8af9793793
--- /dev/null
+++ b/graphics/mng/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+
+MD5 (patch-aa) = c73ae40951d41885536fa9dda6ebe1a6
diff --git a/graphics/mng/patches/patch-aa b/graphics/mng/patches/patch-aa
new file mode 100644
index 00000000000..a20eb252991
--- /dev/null
+++ b/graphics/mng/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+
+--- configure.orig Tue Mar 6 14:14:17 2001
++++ configure Tue Mar 6 14:14:40 2001
+@@ -9,7 +9,7 @@
+
+ # Defaults:
+ ac_help=
+-ac_default_prefix=/usr/local
++ac_default_prefix=${PREFIX}
+ # Any additions from configure.in:
+ ac_help="$ac_help
+ --enable-shared[=PKGS] build shared libraries [default=yes]"
+@@ -728,11 +728,11 @@
+ { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
+ fi
+ cat >> confdefs.h <<EOF
+-#define PACKAGE "$PACKAGE"
++#define MNG_PACKAGE "$PACKAGE"
+ EOF
+
+ cat >> confdefs.h <<EOF
+-#define VERSION "$VERSION"
++#define MNG_VERSION "$VERSION"
+ EOF
+
+
diff --git a/graphics/mng/pkg/DESCR b/graphics/mng/pkg/DESCR
new file mode 100644
index 00000000000..db6068d870c
--- /dev/null
+++ b/graphics/mng/pkg/DESCR
@@ -0,0 +1,5 @@
+The libmng library supports decoding, displaying, encoding, and various other
+manipulations of Multiple-image Network Graphics (MNG) format image files. It
+uses the zlib(3) compression library, and optionally the JPEG library by the
+Independant JPEG Group (IJG) and/or lcms (little CMS), a color-management
+library by Marti Maria Saguar.
diff --git a/graphics/mng/pkg/PLIST b/graphics/mng/pkg/PLIST
new file mode 100644
index 00000000000..de26e0a8fae
--- /dev/null
+++ b/graphics/mng/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+include/libmng.h
+include/libmng_conf.h
+include/libmng_types.h
+lib/libmng.a
+lib/libmng.la
+lib/libmng.so
+lib/libmng.so.1
+lib/libmng.so.1.0