summaryrefslogtreecommitdiffstats
path: root/audio/tunesbrowser
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 01:55:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 01:55:46 +0800
commitc091a01dcb0e6b8a74a6b0d4f2384035e7265327 (patch)
treeee776466a339d3415bbe2195a5425f25fb1b23de /audio/tunesbrowser
parentf91c14bcd18a8171c4d4efc720dbe6a56a9fe724 (diff)
downloadmarcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.gz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.bz2
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.lz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.xz
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.tar.zst
marcuscom-ports-c091a01dcb0e6b8a74a6b0d4f2384035e7265327.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8765 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/tunesbrowser')
-rw-r--r--audio/tunesbrowser/Makefile43
-rw-r--r--audio/tunesbrowser/distinfo3
-rw-r--r--audio/tunesbrowser/files/patch-Makefile.in20
-rw-r--r--audio/tunesbrowser/files/patch-misc_ui.c12
-rw-r--r--audio/tunesbrowser/pkg-descr8
-rw-r--r--audio/tunesbrowser/pkg-plist9
6 files changed, 95 insertions, 0 deletions
diff --git a/audio/tunesbrowser/Makefile b/audio/tunesbrowser/Makefile
new file mode 100644
index 000000000..75f8239dc
--- /dev/null
+++ b/audio/tunesbrowser/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: tunesbrowser
+# Date created: 2004-07-27
+# Whom: Michael Johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+# $MCom: ports/audio/tunesbrowser/Makefile,v 1.7 2006/04/29 10:51:51 pav Exp $
+
+PORTNAME= tunesbrowser
+PORTVERSION= 0.3.0
+PORTREVISION= 3
+CATEGORIES= audio
+MASTER_SITES= http://crazney.net/programs/itunes/files/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Simple iTunes-like music player
+
+LIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget libglade2
+WANT_GNOME= yes
+USE_GSTREAMER80= mad
+GNU_CONFIGURE= yes
+
+MAN1= tunesbrowser.1
+
+OPTIONS= FAAD "Enable AAC/MP4 Audio output" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FAAD)
+USE_GSTREAMER80+= faad
+.endif
+
+.if ${HAVE_GNOME:Mlibgnome}!=""
+PKGNAMESUFFIX= -gnome
+USE_GNOME+= libgnome
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/tunesbrowser/distinfo b/audio/tunesbrowser/distinfo
new file mode 100644
index 000000000..7de0b68f8
--- /dev/null
+++ b/audio/tunesbrowser/distinfo
@@ -0,0 +1,3 @@
+MD5 (tunesbrowser-0.3.0.tar.bz2) = dacfc3f7209c3165be9a9211dfb7bf0e
+SHA256 (tunesbrowser-0.3.0.tar.bz2) = 73f2f01f86f90618fee6756e0f039da2fecc3cc929f665e900c449e7d126dbb6
+SIZE (tunesbrowser-0.3.0.tar.bz2) = 222593
diff --git a/audio/tunesbrowser/files/patch-Makefile.in b/audio/tunesbrowser/files/patch-Makefile.in
new file mode 100644
index 000000000..229c61c3e
--- /dev/null
+++ b/audio/tunesbrowser/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Mon May 16 14:48:28 2005
++++ Makefile.in Mon May 16 19:39:09 2005
+@@ -144,7 +144,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = debug
+-uidir = $(datadir)
++uidir = $(pkgdatadir)
+ bin_PROGRAMS = tunesbrowser
+ tunesbrowser_SOURCES = albumlist.c artistlist.c audioplayer.c \
+ daap.c main.c misc_ui.c songlist.c sourcelist.c \
+@@ -158,7 +158,7 @@
+ man_MANS = tunesbrowser.1
+
+ INCLUDES = -I$(srcdir) -I$(srcdir)/debug
+-AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(datadir)
++AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(pkgdatadir)
+
+ ui_DATA = tunesbrowser.glade \
+ comp.blue.png comp.red.png \
diff --git a/audio/tunesbrowser/files/patch-misc_ui.c b/audio/tunesbrowser/files/patch-misc_ui.c
new file mode 100644
index 000000000..897db5181
--- /dev/null
+++ b/audio/tunesbrowser/files/patch-misc_ui.c
@@ -0,0 +1,12 @@
+--- misc_ui.c.orig Wed Jul 28 06:41:58 2004
++++ misc_ui.c Wed Jul 28 06:43:37 2004
+@@ -139,8 +139,8 @@
+ if (seconds >= 0)
+ {
+ int minutes = seconds / 60;
++ char bufstr[11];
+ seconds -= minutes * 60;
+- char bufstr[11] = {0};
+
+ snprintf(bufstr, 10, "%i:%02i",
+ minutes, seconds);
diff --git a/audio/tunesbrowser/pkg-descr b/audio/tunesbrowser/pkg-descr
new file mode 100644
index 000000000..bfb53f318
--- /dev/null
+++ b/audio/tunesbrowser/pkg-descr
@@ -0,0 +1,8 @@
+TunesBrowser is a simple music player, capable of playing music found on
+iTunes(R) shares. Its features are:
+
+ - Play MP3's off other computers running iTunes
+ - Discovery of hosts over Rendezvous
+ - Interface is quite similar to that of iTunes
+
+WWW: http://crazney.net/programs/itunes/tunesbrowser.html
diff --git a/audio/tunesbrowser/pkg-plist b/audio/tunesbrowser/pkg-plist
new file mode 100644
index 000000000..e1f667be2
--- /dev/null
+++ b/audio/tunesbrowser/pkg-plist
@@ -0,0 +1,9 @@
+bin/tunesbrowser
+share/tunesbrowser/comp.blue.png
+share/tunesbrowser/comp.red.png
+share/tunesbrowser/sound1.png
+share/tunesbrowser/sound2.png
+share/tunesbrowser/soundfile.png
+share/tunesbrowser/tips.txt
+share/tunesbrowser/tunesbrowser.glade
+@dirrm share/tunesbrowser