summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-07-14 02:39:17 +0000
committerdholland <dholland@pkgsrc.org>2010-07-14 02:39:17 +0000
commit4662939dbf84aa403f2a7bb66a41319d4000fd4e (patch)
treedf4354076aa23d498e22d6c670b9f9e26e60897e /graphics
parent459f54b85b9283e23051b6ff1957582dfb350479 (diff)
downloadpkgsrc-4662939dbf84aa403f2a7bb66a41319d4000fd4e.tar.gz
Arrange conditional PLIST for the "fiasco" converters since they're
disabled on MacOS. From Edgar Fuss in PR 43464.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/netpbm/Makefile6
-rw-r--r--graphics/netpbm/PLIST10
2 files changed, 10 insertions, 6 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index d9d83d90a9e..d09fa6c65eb 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.167 2010/07/13 06:08:23 adam Exp $
+# $NetBSD: Makefile,v 1.168 2010/07/14 02:39:17 dholland Exp $
DISTNAME= netpbm-10.35.76
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
@@ -50,8 +51,11 @@ REPLACE_FILES.bash+= other/ppmtomap
.include "../../mk/bsd.prefs.mk"
# Fiasco fails to compile on Darwin-8.x.
+PLIST_VARS+= fiasco
.if !empty(MACHINE_PLATFORM:MDarwin-8.*-*)
MAKE_ENV+= BUILD_FIASCO=N
+.else
+PLIST.fiasco= yes
.endif
.if ${OPSYS} == "Darwin"
diff --git a/graphics/netpbm/PLIST b/graphics/netpbm/PLIST
index 72989b7fb3c..adb0f09b6e3 100644
--- a/graphics/netpbm/PLIST
+++ b/graphics/netpbm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2010/02/19 18:25:44 drochner Exp $
+@comment $NetBSD: PLIST,v 1.7 2010/07/14 02:39:17 dholland Exp $
bin/411toppm
bin/anytopnm
bin/asciitopgm
@@ -13,7 +13,7 @@ bin/ddbugtopbm
bin/doc.url
bin/escp2topbm
bin/eyuvtoppm
-bin/fiascotopnm
+${PLIST.fiasco}bin/fiascotopnm
bin/fitstopnm
bin/fstopgm
bin/g3topbm
@@ -209,7 +209,7 @@ bin/pnmsplit
bin/pnmstitch
bin/pnmtile
bin/pnmtoddif
-bin/pnmtofiasco
+${PLIST.fiasco}bin/pnmtofiasco
bin/pnmtofits
bin/pnmtojbig
bin/pnmtojpeg
@@ -355,7 +355,7 @@ man/man1/cmuwmtopbm.1
man/man1/ddbugtopbm.1
man/man1/escp2topbm.1
man/man1/eyuvtoppm.1
-man/man1/fiascotopnm.1
+${PLIST.fiasco}man/man1/fiascotopnm.1
man/man1/fitstopnm.1
man/man1/fstopgm.1
man/man1/g3topbm.1
@@ -540,7 +540,7 @@ man/man1/pnmsmooth.1
man/man1/pnmstitch.1
man/man1/pnmtile.1
man/man1/pnmtoddif.1
-man/man1/pnmtofiasco.1
+${PLIST.fiasco}man/man1/pnmtofiasco.1
man/man1/pnmtojbig.1
man/man1/pnmtojpeg.1
man/man1/pnmtopalm.1