summaryrefslogtreecommitdiffstats
path: root/audio/gmpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gmpc/Makefile')
-rw-r--r--audio/gmpc/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/audio/gmpc/Makefile b/audio/gmpc/Makefile
index d61799f..ba97e2c 100644
--- a/audio/gmpc/Makefile
+++ b/audio/gmpc/Makefile
@@ -31,17 +31,9 @@ LIBS+= -L${LOCALBASE}/lib -lm
OPTIONS_DEFINE= MMKEYS XSPF
OPTIONS_DEFAULT= MMKEYS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMMKEYS}
-CONFIGURE_ARGS+=--disable-mmkeys
-.endif
-
-.if ${PORT_OPTIONS:MXSPF}
-LIB_DEPENDS+= libxspf.so:${PORTSDIR}/multimedia/libxspf
-CONFIGURE_ARGS+=--enable-libxspf
-.else
-CONFIGURE_ARGS+=--disable-libxspf
-.endif
+MMKEYS_CONFIGURE_ON=--disable-mmkeys
+
+XSPF_LIB_DEPENDS= libxspf.so:${PORTSDIR}/multimedia/libxspf
+XSPF_CONFIGURE_ENABLE= libxspf
.include <bsd.port.mk>
OpenPOWER on IntegriCloud