summaryrefslogtreecommitdiff
path: root/graphics/PanoTools
diff options
context:
space:
mode:
authorjoerg <joerg>2007-02-15 16:27:54 +0000
committerjoerg <joerg>2007-02-15 16:27:54 +0000
commitd73ffe1b5942449b2cde1f388b9e54585baa7234 (patch)
tree51b54623e344a5872ed7039ea806c24701308080 /graphics/PanoTools
parentc45a4848d52cfe772d1a87a86fcf4f97d2667009 (diff)
downloadpkgsrc-d73ffe1b5942449b2cde1f388b9e54585baa7234.tar.gz
No need for this to depend on X11 as it isn't even native.
Slightly adjust the logic as SuSE < 9 is not supported anymore and all systems but Linux will need the emulation anyway. Still messy, but better. Mark DragonFly as supported.
Diffstat (limited to 'graphics/PanoTools')
-rw-r--r--graphics/PanoTools/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/PanoTools/Makefile b/graphics/PanoTools/Makefile
index e5ca765437e..2c85ef8f97a 100644
--- a/graphics/PanoTools/Makefile
+++ b/graphics/PanoTools/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2006/03/04 21:29:45 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2007/02/15 16:27:54 joerg Exp $
#
DISTNAME= PanoTools
PKGNAME= ${DISTNAME}-2.6b1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics java
MASTER_SITES= http://www.path.unimelb.edu.au/~dersch/
@@ -11,7 +11,7 @@ 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
+ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 DragonFly-*-i386
WRKSRC= ${WRKDIR}/PTLinux
USE_JAVA= run
@@ -23,8 +23,6 @@ PKG_JVM?= sun-jdk
PLIST_SUBST+= JAVA_HOME="${PKG_JAVA_HOME:C/^${PREFIX}\///}"
INSTALLATION_DIRS= bin lib
-.include "../../mk/x11.buildlink3.mk"
-
do-install:
${INSTALL_DATA} ${WRKSRC}/libpano12.so ${EMULDIR}/lib
${LN} -s ${EMULDIR}/lib/libpano12.so \
@@ -68,7 +66,7 @@ do-install:
.include "../../emulators/suse_linux/Makefile.application"
-.if ${OPSYS} == NetBSD && ${SUSE_VERSION} != "6.4"
+.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