svn commit: r329297 - head/audio/mpg321
Christian Weisgerber
naddy at FreeBSD.org
Fri Oct 4 12:35:11 UTC 2013
Author: naddy
Date: Fri Oct 4 12:35:10 2013
New Revision: 329297
URL: http://svnweb.freebsd.org/changeset/ports/329297
Log:
Make use of new option helpers.
Remove post-patch section that didn't actually change anything.
Modified:
head/audio/mpg321/Makefile
Modified: head/audio/mpg321/Makefile
==============================================================================
--- head/audio/mpg321/Makefile Fri Oct 4 12:32:26 2013 (r329296)
+++ head/audio/mpg321/Makefile Fri Oct 4 12:35:10 2013 (r329297)
@@ -24,19 +24,9 @@ PLIST_FILES= bin/mpg321 man/man1/mpg321.
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>
More information about the svn-ports-all
mailing list