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 | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /graphics/zphoto | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'graphics/zphoto')
-rw-r--r-- | graphics/zphoto/PLIST | 4 | ||||
-rw-r--r-- | graphics/zphoto/options.mk | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/zphoto/PLIST b/graphics/zphoto/PLIST index 6e160b29d79..69d007bf361 100644 --- a/graphics/zphoto/PLIST +++ b/graphics/zphoto/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/04/12 22:43:02 jlam Exp $ bin/zphoto -${WX_COMMENT}bin/wxzphoto +${PLIST.wx}bin/wxzphoto share/locale/ja/LC_MESSAGES/zphoto.mo share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo share/zphoto/doc/images/wxzphoto-linux-mini.png diff --git a/graphics/zphoto/options.mk b/graphics/zphoto/options.mk index 5d46274b572..3750f8f2aff 100644 --- a/graphics/zphoto/options.mk +++ b/graphics/zphoto/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2007/11/17 01:47:02 obache Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:02 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.zphoto PKG_SUPPORTED_OPTIONS= zip wx @@ -37,10 +37,10 @@ CONFIGURE_ARGS+= --disable-zip #CONFIGURE_ARGS+= --disable-avifile #.endif +PLIST_VARS+= wx .if !empty(PKG_OPTIONS:Mwx) .include "../../x11/wxGTK/buildlink3.mk" -PLIST_SUBST+= WX_COMMENT= +PLIST.wx= yes .else CONFIGURE_ARGS+= --disable-wx -PLIST_SUBST+= WX_COMMENT="@comment " .endif |