summaryrefslogtreecommitdiff
path: root/graphics/camlimages
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /graphics/camlimages
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'graphics/camlimages')
-rw-r--r--graphics/camlimages/Makefile10
-rw-r--r--graphics/camlimages/PLIST14
2 files changed, 12 insertions, 12 deletions
diff --git a/graphics/camlimages/Makefile b/graphics/camlimages/Makefile
index 5f53ae36b78..05f1fe42cfc 100644
--- a/graphics/camlimages/Makefile
+++ b/graphics/camlimages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/09/21 13:03:47 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/04/12 22:43:01 jlam Exp $
DISTNAME= camlimages-2.2.0
PKGREVISION= 5
@@ -28,10 +28,10 @@ BUILD_TARGET+= all
PLIST_SRC+= ${PKGDIR}/PLIST.opt
.endif
-.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD"
-PLIST_SUBST+= COND_DLL=""
-.else
-PLIST_SUBST+= COND_DLL="@comment "
+PLIST_VARS+= dll
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD"
+PLIST.dll= yes
.endif
.include "../../lang/ocaml/buildlink3.mk"
diff --git a/graphics/camlimages/PLIST b/graphics/camlimages/PLIST
index d6108db14d5..010718b10fd 100644
--- a/graphics/camlimages/PLIST
+++ b/graphics/camlimages/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2006/04/22 17:07:19 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/04/12 22:43:01 jlam Exp $
lib/ocaml/camlimages/Makefile.config
lib/ocaml/camlimages/bitmap.cmi
lib/ocaml/camlimages/bitmap.cmo
@@ -47,12 +47,12 @@ lib/ocaml/camlimages/colorhist.cmo
lib/ocaml/camlimages/colorhist.cmx
lib/ocaml/camlimages/colorhist.o
lib/ocaml/camlimages/config.h
-${COND_DLL}lib/ocaml/camlimages/dllci_freetype.so
-${COND_DLL}lib/ocaml/camlimages/dllci_gif.so
-${COND_DLL}lib/ocaml/camlimages/dllci_jpeg.so
-${COND_DLL}lib/ocaml/camlimages/dllci_png.so
-${COND_DLL}lib/ocaml/camlimages/dllci_tiff.so
-${COND_DLL}lib/ocaml/camlimages/dllci_xpm.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_freetype.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_gif.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_jpeg.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_png.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_tiff.so
+${PLIST.dll}lib/ocaml/camlimages/dllci_xpm.so
lib/ocaml/camlimages/freetype.cmi
lib/ocaml/camlimages/freetype.cmo
lib/ocaml/camlimages/freetype.cmx