summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-19 07:55:34 +0000
committerrh <rh@pkgsrc.org>2003-04-19 07:55:34 +0000
commit07eacb96fa0e00bfe4043262363348346ebb9ad1 (patch)
treea85818caf7e0a5d68e56955184a34500d8e2fdd5 /graphics
parentdea31aa92da1f80929c753dfd1518c923aa9ec70 (diff)
downloadpkgsrc-07eacb96fa0e00bfe4043262363348346ebb9ad1.tar.gz
Initial import of PanoTools-2.6b1, a package to view, create, edit, and
remap panoramic images.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/PanoTools/DESCR11
-rw-r--r--graphics/PanoTools/Makefile56
-rw-r--r--graphics/PanoTools/PLIST17
-rw-r--r--graphics/PanoTools/distinfo4
-rwxr-xr-xgraphics/PanoTools/files/ptfile.sh13
5 files changed, 101 insertions, 0 deletions
diff --git a/graphics/PanoTools/DESCR b/graphics/PanoTools/DESCR
new file mode 100644
index 00000000000..307f00b4c96
--- /dev/null
+++ b/graphics/PanoTools/DESCR
@@ -0,0 +1,11 @@
+ Panorama Tools is a set of free programs which can be used to generate,
+edit, and transform many kinds of panoramic images. Its main
+functionality includes
+
+ * Correction of images,
+
+ * Perspective Control,
+
+ * Remap from any projection to any projection; and
+
+ * Adjusting of images into a panoramic view.
diff --git a/graphics/PanoTools/Makefile b/graphics/PanoTools/Makefile
new file mode 100644
index 00000000000..f6100b9b683
--- /dev/null
+++ b/graphics/PanoTools/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/19 07:55:34 rh Exp $
+#
+
+DISTNAME= PanoTools
+PKGNAME= ${DISTNAME}-2.6b1
+WRKSRC= ${WRKDIR}/PTLinux
+CATEGORIES= graphics
+MASTER_SITES= http://www.path.unimelb.edu.au/~dersch/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.path.unimelb.edu.au/~dersch/
+COMMENT= view, create, edit, and remap panoramic images
+
+ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386
+
+USE_BUILDLINK2= YES
+USE_X11= YES
+NO_BUILD= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_JVM?= sun-jdk
+PLIST_SUBST+= JAVA_HOME="${PKG_JAVA_HOME:C/^${PREFIX}\///}"
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libpano12.so \
+ ${PKG_JAVA_HOME}/lib/${MACHINE_ARCH}/libpano12.lib.so
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/PanoTools
+.for jar in ptcrypt pteditor ptpicker
+ ${INSTALL_DATA} ${WRKSRC}/${jar}.jar ${PREFIX}/share/PanoTools
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/PanoTools
+.for doc in Readme.html Readme.txt Copyright/COPYRIGHT_TIFF \
+ Copyright/Copying.html Copyright/README_JPEG \
+ Scripts/Optimizer_Script.txt Scripts/Stitcher_Script.txt
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/PanoTools
+.endfor
+.for bin in ptcrypt pteditor ptpicker
+ ${SED} < ${FILESDIR}/ptfile.sh > ${WRKDIR}/${bin} \
+ -e 's|@@prefix@@|${PREFIX}|g' \
+ -e 's|@@javahome@@|${PKG_JAVA_HOME}|g' \
+ -e 's|@@ptfile@@|${bin}|g'
+ ${INSTALL_SCRIPT} ${WRKDIR}/${bin} ${PREFIX}/bin
+.endfor
+
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if ${OPSYS} == NetBSD
+DEPENDS+= suse_base-${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_base
+DEPENDS+= suse_libjpeg-${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_libjpeg
+DEPENDS+= suse_libpng-${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_libpng
+DEPENDS+= suse_libtiff-${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_libtiff
+.endif
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/PanoTools/PLIST b/graphics/PanoTools/PLIST
new file mode 100644
index 00000000000..a2a15133d5e
--- /dev/null
+++ b/graphics/PanoTools/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/19 07:55:34 rh Exp $
+bin/ptcrypt
+bin/pteditor
+bin/ptpicker
+${JAVA_HOME}/lib/${MACHINE_ARCH}/libpano12.lib.so
+share/PanoTools/ptcrypt.jar
+share/PanoTools/pteditor.jar
+share/PanoTools/ptpicker.jar
+share/doc/PanoTools/COPYRIGHT_TIFF
+share/doc/PanoTools/Copying.html
+share/doc/PanoTools/Optimizer_Script.txt
+share/doc/PanoTools/README_JPEG
+share/doc/PanoTools/Readme.html
+share/doc/PanoTools/Readme.txt
+share/doc/PanoTools/Stitcher_Script.txt
+@dirrm share/doc/PanoTools
+@dirrm share/PanoTools
diff --git a/graphics/PanoTools/distinfo b/graphics/PanoTools/distinfo
new file mode 100644
index 00000000000..c16fef9b8a6
--- /dev/null
+++ b/graphics/PanoTools/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/19 07:55:34 rh Exp $
+
+SHA1 (PanoTools.tar.gz) = 3d200ea5035ed5188341be6cf1aa197fabc1994c
+Size (PanoTools.tar.gz) = 516217 bytes
diff --git a/graphics/PanoTools/files/ptfile.sh b/graphics/PanoTools/files/ptfile.sh
new file mode 100755
index 00000000000..ed04f962ee2
--- /dev/null
+++ b/graphics/PanoTools/files/ptfile.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $Id: ptfile.sh,v 1.1.1.1 2003/04/19 07:55:34 rh Exp $
+#
+export CLASSPATH=@@prefix@@/share/PanoTools:${CLASSPATH}
+export JAVA_HOME=@@javahome@@
+export PATH=$JAVA_HOME/bin:$PATH
+ulimit -d `ulimit -d -H`
+ulimit -s `ulimit -s -H`
+ulimit -m `ulimit -m -H`
+ulimit -p `ulimit -p -H`
+ulimit -n `ulimit -n -H`
+java -jar @@prefix@@/share/PanoTools/@@ptfile@@.jar "$@"