diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 31597853cc377bc7f255d79b8cbdba990fd506a1 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /x11/ocaml-graphics | |
parent | d9176ab5ada46cb1a5d0b147d1c9ac9ba38136d0 (diff) | |
download | pkgsrc-31597853cc377bc7f255d79b8cbdba990fd506a1.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/ocaml-graphics')
-rw-r--r-- | x11/ocaml-graphics/Makefile | 8 | ||||
-rw-r--r-- | x11/ocaml-graphics/PLIST | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile index 83bea67b872..a982c1b91a5 100644 --- a/x11/ocaml-graphics/Makefile +++ b/x11/ocaml-graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/30 20:56:13 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2008/04/12 22:43:15 jlam Exp $ .include "../../lang/ocaml/Makefile.common" @@ -14,13 +14,13 @@ CONFIGURE_ARGS+= -no-tk BUILD_DIRS= ${WRKSRC}/otherlibs/graph BUILD_TARGET= all INSTALL_TARGET= install + +PLIST_VARS+= opt .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") BUILD_TARGET+= allopt INSTALL_TARGET+= installopt -PLIST_SUBST+= OPT= -.else -PLIST_SUBST+= OPT='@comment ' +PLIST.opt= yes .endif PLIST_SRC= ${WRKDIR}/.PLIST_SRC diff --git a/x11/ocaml-graphics/PLIST b/x11/ocaml-graphics/PLIST index 1213e3639b3..5ca64236310 100644 --- a/x11/ocaml-graphics/PLIST +++ b/x11/ocaml-graphics/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2006/02/22 21:00:32 wiz Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:15 jlam Exp $ lib/ocaml/graphics.a lib/ocaml/graphics.cma lib/ocaml/graphics.cmi -${OPT}lib/ocaml/graphics.cmxa +${PLIST.opt}lib/ocaml/graphics.cmxa lib/ocaml/graphics.mli lib/ocaml/graphicsX11.cmi lib/ocaml/graphicsX11.mli |