summaryrefslogtreecommitdiff
path: root/graphics/PanoTools
diff options
context:
space:
mode:
authorjlam <jlam>2007-07-29 05:18:36 +0000
committerjlam <jlam>2007-07-29 05:18:36 +0000
commitc79d13574d40ad8e282bd93bd622e8a195903691 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /graphics/PanoTools
parenta9d6b45cddcb11e05e29eed50a9623fff3d06518 (diff)
downloadpkgsrc-c79d13574d40ad8e282bd93bd622e8a195903691.tar.gz
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
Diffstat (limited to 'graphics/PanoTools')
-rw-r--r--graphics/PanoTools/Makefile27
-rw-r--r--graphics/PanoTools/PLIST4
2 files changed, 7 insertions, 24 deletions
diff --git a/graphics/PanoTools/Makefile b/graphics/PanoTools/Makefile
index 2c85ef8f97a..9e33291fdd6 100644
--- a/graphics/PanoTools/Makefile
+++ b/graphics/PanoTools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/02/15 16:27:54 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2007/07/29 05:19:27 jlam Exp $
#
DISTNAME= PanoTools
@@ -11,16 +11,16 @@ MAINTAINER= pkgsrc-users@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 DragonFly-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base jpeg png tiff
WRKSRC= ${WRKDIR}/PTLinux
+BUILD_DIRS= # empty
USE_JAVA= run
-NO_BUILD= YES
-
-.include "../../mk/bsd.prefs.mk"
PKG_JVM?= sun-jdk
PLIST_SUBST+= JAVA_HOME="${PKG_JAVA_HOME:C/^${PREFIX}\///}"
+
INSTALLATION_DIRS= bin lib
do-install:
@@ -64,22 +64,5 @@ do-install:
${PREFIX}/share/PanoTools/Templates
.endfor
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if ${OPSYS} != "Linux"
-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
-
-EMULSUBDIR= emul/linux
-LDD= ${EMULDIR}/usr/bin/ldd
-.else
-EMULSUBDIR=
-.endif
-
-EMULDIR= ${PREFIX}/${EMULSUBDIR}
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/PanoTools/PLIST b/graphics/PanoTools/PLIST
index aa4cc9f60fc..2c9216f402b 100644
--- a/graphics/PanoTools/PLIST
+++ b/graphics/PanoTools/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2003/04/20 06:58:20 rh Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/07/29 05:19:27 jlam Exp $
bin/mkpthelpers
bin/ptcrypt
bin/pteditor
bin/ptpicker
-${EMULSUBDIR}/lib/libpano12.so
+${EMULSUBDIRSLASH}lib/libpano12.so
libexec/PanoTools/PTAverage
libexec/PanoTools/PTInterpolate
libexec/PanoTools/PTMorpher