diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2006-02-19 20:46:56 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2006-02-19 20:46:56 +0000 |
commit | eca41c3e6b6878a74dd39f0f0041c47e2de65cb0 (patch) | |
tree | ae66c515a2762be22320f37e0073050c00529539 /audio/mpg321 | |
parent | da6c0bba31323218627e6e290a24b1615351fe93 (diff) | |
download | ports-eca41c3e6b6878a74dd39f0f0041c47e2de65cb0.tar.gz ports-eca41c3e6b6878a74dd39f0f0041c47e2de65cb0.zip |
Notes
Diffstat (limited to 'audio/mpg321')
-rw-r--r-- | audio/mpg321/Makefile | 17 | ||||
-rw-r--r-- | audio/mpg321/distinfo | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile index 656c5324e8ae..c5e1a7bd3e38 100644 --- a/audio/mpg321/Makefile +++ b/audio/mpg321/Makefile @@ -19,6 +19,18 @@ LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \ id3tag.0:${PORTSDIR}/audio/libid3tag \ mad.2:${PORTSDIR}/audio/libmad +.if defined(WITH_MPG321_SCROBBLER_PATCH) +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 \ + http://devel.ringlet.net/audio/mpg321-scrobbler/:scrobbler + +USE_REINPLACE= true + +MPG321_SCROBBLER_PLUGIN_NAME?= 321 +.endif + GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --disable-mpg123-symlink @@ -29,4 +41,9 @@ MAN1= mpg321.1 PLIST_FILES= bin/mpg321 +.if defined(WITH_MPG321_SCROBBLER_PATCH) +post-patch: + ${REINPLACE_CMD} "s/\"mpg321\"/\"${MPG321_SCROBBLER_PLUGIN_NAME}\"/" ${WRKSRC}/scrobbler.c +.endif + .include <bsd.port.mk> diff --git a/audio/mpg321/distinfo b/audio/mpg321/distinfo index cf4b501c8437..ab97a567bb12 100644 --- a/audio/mpg321/distinfo +++ b/audio/mpg321/distinfo @@ -1,3 +1,6 @@ MD5 (mpg321-0.2.10.tar.gz) = bb403b35c2d25655d55f0f616b8f47bb SHA256 (mpg321-0.2.10.tar.gz) = db0c299592b8f1f704f41bd3fc3a2bf138658108588d51af61638c551af1b0d4 SIZE (mpg321-0.2.10.tar.gz) = 113449 +MD5 (mpg321-0.2.10-scrobbler-01.patch) = f2171e1c878768011ce12ec9e5a0c1ae +SHA256 (mpg321-0.2.10-scrobbler-01.patch) = bc3cc20e7002bb18ce3e4b2623568cb01b99ccc23cec1fb2c1cd0e6b196db0d6 +SIZE (mpg321-0.2.10-scrobbler-01.patch) = 15406 |