aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-29 22:38:30 +0800
committermiwi <miwi@FreeBSD.org>2012-05-29 22:38:30 +0800
commite0ffee622485773bc5c23def3a29987dd07067af (patch)
tree449858e59c09637c85f02a8e05cbb2d9b6b58854 /audio
parent2487227847bc0b25e5f70730eb63c7fcc921f7f0 (diff)
downloadfreebsd-ports-gnome-e0ffee622485773bc5c23def3a29987dd07067af.tar.gz
freebsd-ports-gnome-e0ffee622485773bc5c23def3a29987dd07067af.tar.zst
freebsd-ports-gnome-e0ffee622485773bc5c23def3a29987dd07067af.zip
- Convert to new options framework
- Add shared mmkeys and xspf descriptions
Diffstat (limited to 'audio')
-rw-r--r--audio/gmpc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/gmpc/Makefile b/audio/gmpc/Makefile
index e4213fea1f78..30eff13fe0de 100644
--- a/audio/gmpc/Makefile
+++ b/audio/gmpc/Makefile
@@ -34,16 +34,16 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gmpc-remote.1 gmpc.1 gmpc-remote-stream.1
-OPTIONS= MMKEYS "Enable multimedia keys support" on \
- XSPF "Enable support for XSPF playlists" off
+OPTIONS_DEFINE= MMKEYS XSPF
+OPTIONS_DEFAULT= MMKEYS
.include <bsd.port.options.mk>
-.if defined(WITHOUT_MMKEYS)
+.if ${PORT_OPTIONS:MMMKEYS}
CONFIGURE_ARGS+=--disable-mmkeys
.endif
-.if defined(WITH_XSPF)
+.if ${PORT_OPTIONS:MXSPF}
LIB_DEPENDS+= xspf.4:${PORTSDIR}/multimedia/libxspf
CONFIGURE_ARGS+=--enable-libxspf
.else