aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2013-10-04 12:35:10 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2013-10-04 12:35:10 +0000
commit7975fcf12b15595b76390cb515f6153b6cf1c3de (patch)
tree6653a331e12b079f14ba22e610fa528c013fde15 /audio
parent8e56bacd235489a3d9cab9c4949669426f257f63 (diff)
downloadports-7975fcf12b15595b76390cb515f6153b6cf1c3de.tar.gz
ports-7975fcf12b15595b76390cb515f6153b6cf1c3de.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg321/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index 329dc941c02c..ba00b18f7cd9 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -24,19 +24,9 @@ PLIST_FILES= bin/mpg321 man/man1/mpg321.1.gz
OPTIONS_DEFINE= SCROBBLER
SCROBBLER_DESC= Last.fm Audioscrobbler support
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSCROBBLER}
-RUN_DEPENDS+= scrobbler-helper:${PORTSDIR}/audio/p5-Audio-Scrobbler
-
-PATCHFILES+= mpg321-0.2.10-scrobbler-01.patch:scrobbler
-PATCH_SITES+= http://people.FreeBSD.org/~roam/ports/audio/:scrobbler \
+SCROBBLER_RUN_DEPENDS= scrobbler-helper:${PORTSDIR}/audio/p5-Audio-Scrobbler
+SCROBBLER_PATCHFILES= mpg321-0.2.10-scrobbler-01.patch:scrobbler
+SCROBBLER_PATCH_SITES= http://people.FreeBSD.org/~roam/ports/audio/:scrobbler \
http://devel.ringlet.net/audio/mpg321-scrobbler/:scrobbler
-MPG321_SCROBBLER_PLUGIN_NAME?= 321
-
-post-patch:
- ${REINPLACE_CMD} "s/\"mpg321\"/\"${MPG321_SCROBBLER_PLUGIN_NAME}\"/" ${WRKSRC}/scrobbler.c
-.endif
-
.include <bsd.port.mk>