diff options
author | wiz <wiz> | 2005-11-22 00:01:40 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-11-22 00:01:40 +0000 |
commit | ed2c8e365439d1bf3724f1beb22f2cd46c7f66b4 (patch) | |
tree | ab7bdf28d8c382019e0181d51dbae29f3f13f9ec /audio | |
parent | 93706c86afc031fdfee20a7c65beb379237678bb (diff) | |
download | pkgsrc-ed2c8e365439d1bf3724f1beb22f2cd46c7f66b4.tar.gz |
Add optional support for MOD files via libmikmod,
and enable it by default. Bump PKGREVISION to 4.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/musicpd/Makefile | 4 | ||||
-rw-r--r-- | audio/musicpd/options.mk | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile index 43292181066..b8b0931c2ea 100644 --- a/audio/musicpd/Makefile +++ b/audio/musicpd/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2005/11/18 18:34:11 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2005/11/22 00:01:40 wiz Exp $ DISTNAME= mpd-0.11.5 PKGNAME= ${DISTNAME:S/mpd/musicpd/} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= audio MASTER_SITES= http://mercury.chem.pitt.edu/~shank/ diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk index 73bfb573664..b2839bfc45f 100644 --- a/audio/musicpd/options.mk +++ b/audio/musicpd/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.4 2005/05/31 16:20:43 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2005/11/22 00:01:40 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd -PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 ogg -PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 ogg +PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg +PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg .include "../../mk/bsd.options.mk" @@ -42,6 +42,13 @@ CONFIGURE_ARGS+= --with-id3tag=${BUILDLINK_PREFIX.libid3tag} CONFIGURE_ARGS+= --disable-id3 .endif +.if !empty(PKG_OPTIONS:Mlibmikmod) +. include "../../audio/libmikmod/buildlink3.mk" +CONFIGURE_ARGS+= --with-libmikmod=${BUILDLINK_PREFIX.libmikmod} +.else +CONFIGURE_ARGS+= --disable-libmikmod +.endif + .if !empty(PKG_OPTIONS:Mogg) . include "../../audio/libvorbis/buildlink3.mk" CONFIGURE_ARGS+= --with-ogg=${BUILDLINK_PREFIX.libvorbis} |