diff options
Diffstat (limited to 'audio/mpg321/Makefile')
-rw-r--r-- | audio/mpg321/Makefile | 16 |
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> |