Import of the Multiple-image Network Graphics (MNG) reference library

From Nathan Ahlstrom <nrahlstr@winternet.com> in pkg/12343 with
modifications from me.
This commit is contained in:
skrll 2001-03-07 08:34:52 +00:00
parent adaa1d0efa
commit 964912e126
6 changed files with 71 additions and 0 deletions

24
graphics/mng/Makefile Normal file
View file

@ -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"

3
graphics/mng/files/md5 Normal file
View file

@ -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

View file

@ -0,0 +1,3 @@
$NetBSD: patch-sum,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
MD5 (patch-aa) = c73ae40951d41885536fa9dda6ebe1a6

View file

@ -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

5
graphics/mng/pkg/DESCR Normal file
View file

@ -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.

9
graphics/mng/pkg/PLIST Normal file
View file

@ -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