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 /x11/kdelibs3 | |
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 'x11/kdelibs3')
-rw-r--r-- | x11/kdelibs3/Makefile | 9 | ||||
-rw-r--r-- | x11/kdelibs3/PLIST | 28 | ||||
-rw-r--r-- | x11/kdelibs3/options.mk | 6 |
3 files changed, 22 insertions, 21 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile index 2711907c96d..51e99d4a46e 100644 --- a/x11/kdelibs3/Makefile +++ b/x11/kdelibs3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.135 2008/02/20 09:49:56 markd Exp $ +# $NetBSD: Makefile,v 1.136 2008/04/12 22:43:14 jlam Exp $ DISTNAME= kdelibs-${_KDE_VERSION} CATEGORIES= x11 @@ -63,16 +63,17 @@ SPECIAL_PERMS+= ${PREFIX}/bin/kpac_dhcp_helper ${SETUID_ROOT_PERMS} .include "options.mk" +PLIST_VARS+= kded .if ${OPSYS} == "NetBSD" . if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*} -PLIST_SUBST+= KDED_WORKAROUND="@comment " +# nothing . else -PLIST_SUBST+= KDED_WORKAROUND="" +PLIST.kded= yes . endif # make sure zone.tab is installed DEPENDS+= zonetab-[0-9]*:../../time/zonetab .else -PLIST_SUBST+= KDED_WORKAROUND="" +PLIST.kded= yes .endif .include "../../mk/krb5.buildlink3.mk" diff --git a/x11/kdelibs3/PLIST b/x11/kdelibs3/PLIST index a2274924c73..c6e94d5f3cd 100644 --- a/x11/kdelibs3/PLIST +++ b/x11/kdelibs3/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.41 2007/11/13 11:19:18 markd Exp $ +@comment $NetBSD: PLIST,v 1.42 2008/04/12 22:43:14 jlam Exp $ bin/artsmessage bin/checkXML -${CUPS}bin/cupsdconf -${CUPS}bin/cupsdoprint +${PLIST.cups}bin/cupsdconf +${PLIST.cups}bin/cupsdoprint bin/dcop bin/dcopclient bin/dcopfind @@ -55,7 +55,7 @@ bin/ktradertest bin/kunittestmodrunner bin/kwrapper bin/lnusertemp -${CUPS}bin/make_driver_db_cups +${PLIST.cups}bin/make_driver_db_cups bin/make_driver_db_lpr bin/makekdewidgets bin/meinproc @@ -757,7 +757,7 @@ include/renamedlgplugin.h include/scriptclientinterface.h include/scriptinterface.h include/scriptmanager.h -${CUPS}lib/kde3/cupsdconf.la +${PLIST.cups}lib/kde3/cupsdconf.la lib/kde3/dcopserver.la lib/kde3/kabc_dir.la lib/kde3/kabc_file.la @@ -770,7 +770,7 @@ lib/kde3/kcm_kresources.la lib/kde3/kcmshell.la lib/kde3/kconf_update.la lib/kde3/kcookiejar.la -${KDED_WORKAROUND}lib/kde3/kded.la +${PLIST.kded}lib/kde3/kded.la lib/kde3/kded_kcookiejar.la lib/kde3/kded_kdeprintd.la lib/kde3/kded_kdetrayproxy.la @@ -778,7 +778,7 @@ lib/kde3/kded_kpasswdserver.la lib/kde3/kded_kssld.la lib/kde3/kded_kwalletd.la lib/kde3/kded_proxyscout.la -${CUPS}lib/kde3/kdeprint_cups.la +${PLIST.cups}lib/kde3/kdeprint_cups.la lib/kde3/kdeprint_ext.la lib/kde3/kdeprint_lpdunix.la lib/kde3/kdeprint_lpr.la @@ -843,7 +843,7 @@ lib/libkdecore.la lib/libkdefakes.la lib/libkdefakes_nonpic.a lib/libkdefx.la -${CUPS}lib/libkdeinit_cupsdconf.la +${PLIST.cups}lib/libkdeinit_cupsdconf.la lib/libkdeinit_dcopserver.la lib/libkdeinit_kaddprinterwizard.la lib/libkdeinit_kbuildsycoca.la @@ -3057,8 +3057,8 @@ share/kde/apps/kconf_update/proxytype.pl share/kde/apps/kconf_update/useragent.pl share/kde/apps/kdeprint/apsdriver1 share/kde/apps/kdeprint/apsdriver2 -${CUPS}share/kde/apps/kdeprint/cups_logo.png -${CUPS}share/kde/apps/kdeprint/cupsd.conf.template +${PLIST.cups}share/kde/apps/kdeprint/cups_logo.png +${PLIST.cups}share/kde/apps/kdeprint/cupsd.conf.template share/kde/apps/kdeprint/filters/enscript.desktop share/kde/apps/kdeprint/filters/enscript.xml share/kde/apps/kdeprint/filters/imagetops.desktop @@ -3136,7 +3136,7 @@ share/kde/apps/kdeprint/icons/crystalsvg/48x48/apps/kdeprint_printer.png share/kde/apps/kdeprint/icons/crystalsvg/48x48/apps/kdeprint_printer_class.png share/kde/apps/kdeprint/icons/crystalsvg/64x64/apps/kdeprint_printer.png share/kde/apps/kdeprint/icons/crystalsvg/64x64/apps/kdeprint_printer_class.png -${CUPS}share/kde/apps/kdeprint/kde_logo.png +${PLIST.cups}share/kde/apps/kdeprint/kde_logo.png share/kde/apps/kdeprint/lprngtooldriver1 share/kde/apps/kdeprint/pics/kdeprint_collate.png share/kde/apps/kdeprint/pics/kdeprint_collate_reverse.png @@ -3156,13 +3156,13 @@ share/kde/apps/kdeprint/pics/kdeprint_revlandscape.png share/kde/apps/kdeprint/pics/kdeprint_revportrait.png share/kde/apps/kdeprint/pics/kdeprint_uncollate.png share/kde/apps/kdeprint/pics/kdeprint_uncollate_reverse.png -${CUPS}share/kde/apps/kdeprint/plugins/cups.print +${PLIST.cups}share/kde/apps/kdeprint/plugins/cups.print share/kde/apps/kdeprint/plugins/ext.print share/kde/apps/kdeprint/plugins/lpdunix.print share/kde/apps/kdeprint/plugins/lpr.print share/kde/apps/kdeprint/plugins/rlpr.print -${CUPS}share/kde/apps/kdeprint/preview-mini.png -${CUPS}share/kde/apps/kdeprint/preview.png +${PLIST.cups}share/kde/apps/kdeprint/preview-mini.png +${PLIST.cups}share/kde/apps/kdeprint/preview.png share/kde/apps/kdeprint/side.png share/kde/apps/kdeprint/specials.desktop share/kde/apps/kdeprint/testprint.ps diff --git a/x11/kdelibs3/options.mk b/x11/kdelibs3/options.mk index 705ca358a64..bc65baa73f9 100644 --- a/x11/kdelibs3/options.mk +++ b/x11/kdelibs3/options.mk @@ -1,16 +1,16 @@ -# $NetBSD: options.mk,v 1.1 2007/01/26 02:44:28 markd Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:14 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.kdelibs PKG_SUPPORTED_OPTIONS= cups debug .include "../../mk/bsd.options.mk" +PLIST_VARS+= cups .if !empty(PKG_OPTIONS:Mcups) .include "../../print/cups/buildlink3.mk" -PLIST_SUBST+= CUPS= +PLIST.cups= yes .else CONFIGURE_ARGS+= --disable-cups -PLIST_SUBST+= CUPS="@comment " .endif .if !empty(PKG_OPTIONS:Mdebug) |