summaryrefslogtreecommitdiff
path: root/graphics/jasper
diff options
context:
space:
mode:
authorrh <rh>2001-08-01 14:56:31 +0000
committerrh <rh>2001-08-01 14:56:31 +0000
commit932cd2688fbe8630ebb45c72ce09ab799b8eaaa3 (patch)
treec1402f109b64c57e37656f4951caf71b55569bf9 /graphics/jasper
parentaaee49b449079b81a0eba9a136d39fa51efa2278 (diff)
downloadpkgsrc-932cd2688fbe8630ebb45c72ce09ab799b8eaaa3.tar.gz
Initial import of jasper-1.500.0, a JPEG-2000 reference implementation.
Diffstat (limited to 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile24
-rw-r--r--graphics/jasper/buildlink.mk47
-rw-r--r--graphics/jasper/distinfo4
-rw-r--r--graphics/jasper/pkg/DESCR6
-rw-r--r--graphics/jasper/pkg/PLIST30
5 files changed, 111 insertions, 0 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
new file mode 100644
index 00000000000..387ca61d0ca
--- /dev/null
+++ b/graphics/jasper/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/01 14:56:31 rh Exp $
+#
+
+DISTNAME= jasper-1.500.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.ece.ubc.ca/~mdadams/jasper/software/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.ece.ubc.ca/~mdadams/jasper/
+COMMENT= software-based reference implementation of the JPEG-2000 codec
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jasper
+.for doc in ChangeLog LICENSE NEWS README
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/jasper
+.endfor
+
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jasper/buildlink.mk b/graphics/jasper/buildlink.mk
new file mode 100644
index 00000000000..906c74744c6
--- /dev/null
+++ b/graphics/jasper/buildlink.mk
@@ -0,0 +1,47 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2001/08/01 14:56:31 rh Exp $
+#
+# This Makefile fragment is included by packages that use libjasper.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.jasper to the dependency pattern
+# for the version of libjasper desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(JASPER_BUILDLINK_MK)
+JASPER_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.jasper?= jasper-1.500.0
+DEPENDS+= ${BUILDLINK_DEPENDS.jasper}:../../graphics/jasper
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.jasper=jasper
+BUILDLINK_PREFIX.jasper_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.jasper= include/jasper/jas_debug.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_fix.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_getopt.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_image.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_init.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_malloc.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_math.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_seq.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_stream.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_string.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_tvp.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_types.h
+BUILDLINK_FILES.jasper+= include/jasper/jas_version.h
+BUILDLINK_FILES.jasper+= include/jasper/jasper.h
+BUILDLINK_FILES.jasper+= lib/libjasper.*
+
+BUILDLINK_TARGETS.jasper= jasper-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.jasper}
+
+pre-configure: ${BUILDLINK_TARGETS.jasper}
+jasper-buildlink: _BUILDLINK_USE
+
+.endif # JASPER_BUILDLINK_MK
diff --git a/graphics/jasper/distinfo b/graphics/jasper/distinfo
new file mode 100644
index 00000000000..251049eac57
--- /dev/null
+++ b/graphics/jasper/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/01 14:56:31 rh Exp $
+
+SHA1 (jasper-1.500.0.zip) = 9f4dcc7077eab0013c40bb149b03a9a875f6343e
+Size (jasper-1.500.0.zip) = 850771 bytes
diff --git a/graphics/jasper/pkg/DESCR b/graphics/jasper/pkg/DESCR
new file mode 100644
index 00000000000..5f7eb042b10
--- /dev/null
+++ b/graphics/jasper/pkg/DESCR
@@ -0,0 +1,6 @@
+ The JasPer Project is a collaborative effort between Image Power, Inc.
+and the University of British Columbia. The objective of this project is
+to develop a software-based reference implementation of the codec
+specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). This
+software has also been submitted to the ISO for inclusion in the JPEG-2000
+Part-5 standard (as an official reference implementation).
diff --git a/graphics/jasper/pkg/PLIST b/graphics/jasper/pkg/PLIST
new file mode 100644
index 00000000000..0d06f036bf4
--- /dev/null
+++ b/graphics/jasper/pkg/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/01 14:56:31 rh Exp $
+bin/imgcmp
+bin/imginfo
+bin/jasper
+include/jasper/jas_debug.h
+include/jasper/jas_fix.h
+include/jasper/jas_getopt.h
+include/jasper/jas_image.h
+include/jasper/jas_init.h
+include/jasper/jas_malloc.h
+include/jasper/jas_math.h
+include/jasper/jas_seq.h
+include/jasper/jas_stream.h
+include/jasper/jas_string.h
+include/jasper/jas_tvp.h
+include/jasper/jas_types.h
+include/jasper/jas_version.h
+include/jasper/jasper.h
+lib/libjasper-1.500.so
+lib/libjasper-1.500.so.0
+lib/libjasper-1.500.so.0.0
+lib/libjasper.a
+lib/libjasper.la
+lib/libjasper.so
+share/doc/jasper/ChangeLog
+share/doc/jasper/LICENSE
+share/doc/jasper/NEWS
+share/doc/jasper/README
+@dirrm share/doc/jasper
+@dirrm include/jasper