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 /audio/cmus | |
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 'audio/cmus')
-rw-r--r-- | audio/cmus/Makefile | 7 | ||||
-rw-r--r-- | audio/cmus/PLIST | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index 27040005179..a2489a72fc5 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/11/19 00:10:31 hubertf Exp $ +# $NetBSD: Makefile,v 1.10 2008/04/12 22:42:58 jlam Exp $ # DISTNAME= cmus-2.1.0 @@ -18,11 +18,10 @@ CONFIGURE_ARGS+= prefix=${PREFIX} CONFIGURE_ARGS+= CONFIG_ALSA=n CONFIGURE_ARGS+= CONFIG_OSS=y CONFIGURE_ARGS+= mandir=${PREFIX}/${PKGMANDIR}/ +PLIST_VARS= sunaudio .if exists(/usr/include/sys/audioio.h) -PLIST_SUBST+= SUN="" -.else -PLIST_SUBST+= SUN="@comment " +PLIST.sunaudio= yes .endif .include "../../mk/bsd.prefs.mk" diff --git a/audio/cmus/PLIST b/audio/cmus/PLIST index a41881fdc7b..8f0c5270b16 100644 --- a/audio/cmus/PLIST +++ b/audio/cmus/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2007/01/13 08:57:56 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:42:58 jlam Exp $ bin/cmus bin/cmus-remote lib/cmus/ip/flac.so @@ -8,7 +8,7 @@ lib/cmus/ip/vorbis.so lib/cmus/ip/wav.so lib/cmus/op/ao.so lib/cmus/op/oss.so -${SUN}lib/cmus/op/sun.so +${PLIST.sunaudio}lib/cmus/op/sun.so man/man1/cmus-remote.1 man/man1/cmus.1 share/cmus/cyan.theme |