diff options
author | novel <novel@FreeBSD.org> | 2005-05-10 19:47:46 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-05-10 19:47:46 +0800 |
commit | e5a58a7406a7775a6f82f465d7d37cb2e810e45c (patch) | |
tree | 55232f9f93d89c65fa81c0e0b868a32b0634423a /audio | |
parent | ae64459b9dd78b13bc02217917b352610da3120c (diff) | |
download | freebsd-ports-gnome-e5a58a7406a7775a6f82f465d7d37cb2e810e45c.tar.gz freebsd-ports-gnome-e5a58a7406a7775a6f82f465d7d37cb2e810e45c.tar.zst freebsd-ports-gnome-e5a58a7406a7775a6f82f465d7d37cb2e810e45c.zip |
Add audio/scrobbler - master port for bmp- and xmms-scrobbler ports.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/scrobbler/Makefile | 56 | ||||
-rw-r--r-- | audio/scrobbler/distinfo | 2 | ||||
-rw-r--r-- | audio/scrobbler/pkg-descr | 5 |
4 files changed, 64 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 22eb2e2b582a..ae38136b0960 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -404,6 +404,7 @@ SUBDIR += ruby-xmms SUBDIR += s3mod SUBDIR += sbagen + SUBDIR += scrobbler SUBDIR += sdl_mixer SUBDIR += sdl_sound SUBDIR += sfront diff --git a/audio/scrobbler/Makefile b/audio/scrobbler/Makefile new file mode 100644 index 000000000000..cb987742151c --- /dev/null +++ b/audio/scrobbler/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: xmms-scrobbler +# Date created: 2004-12-06 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME?= scrobbler +PORTVERSION= 0.3.8.1 +CATEGORIES= audio +MASTER_SITES= http://static.audioscrobbler.com/plugins/ \ + http://www.pipian.com/stuffforchat/ +DISTNAME= xmms-scrobbler-${PORTVERSION} + +MAINTAINER?= novel@FreeBSD.org +COMMENT?= XMMS/BMP plugin for Audioscrobbler.com + +LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \ + curl.3:${PORTSDIR}/ftp/curl + +CONFLICTS= bmp-scrobbler-* \ + xmms-scrobbler-* + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_LIBTOOL_VER=15 +USE_GMAKE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +.if !defined(WITH_XMMS) && !defined(WITH_BMP) +WITH_XMMS= yes +WITH_BMP= yes +.endif + +.if defined(WITH_XMMS) +LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms +PLIST_FILES+= lib/xmms/General/libxmms_scrobbler.so +.else +CONFIGURE_ARGS+= --disable-xmms-plugin +.endif + +.if defined(WITH_BMP) +LIB_DEPENDS+= beep.2:${PORTSDIR}/multimedia/beep-media-player +PLIST_FILES+= lib/bmp/General/libbmp_scrobbler.so +.else +CONFIGURE_ARGS+= --disable-bmp-plugin +.endif + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif + +.if defined(WITH_APE) +CONFIGURE_ARGS+= --enable-prefer-ape +.endif + +.include <bsd.port.mk> diff --git a/audio/scrobbler/distinfo b/audio/scrobbler/distinfo new file mode 100644 index 000000000000..98d8f8f791e3 --- /dev/null +++ b/audio/scrobbler/distinfo @@ -0,0 +1,2 @@ +MD5 (xmms-scrobbler-0.3.8.1.tar.bz2) = e933c7660fe9103916ca022ec60ad654 +SIZE (xmms-scrobbler-0.3.8.1.tar.bz2) = 257740 diff --git a/audio/scrobbler/pkg-descr b/audio/scrobbler/pkg-descr new file mode 100644 index 000000000000..6633f904276f --- /dev/null +++ b/audio/scrobbler/pkg-descr @@ -0,0 +1,5 @@ +This is an BMP/XMMS Plugin which sends the Playlist data to +audioscrobbler.com + +WWW: http://www.audioscrobbler.com +Author: pipian@pipian.com |