summaryrefslogtreecommitdiff
path: root/audio/gtkhirad
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-06-12 14:31:10 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-06-12 14:31:10 +0000
commit9fd05576c742cac21e6994d93eadd3098175228d (patch)
tree97af992237575a72413f1734da5b95bd7f37613e /audio/gtkhirad
parent- drop pkg-install (diff)
Add gtkhirad 0.2, hinet Radio player using GTK.
PR: ports/113533 Submitted by: chinsan Approved by: rafan (mentor)
Notes
Notes: svn path=/head/; revision=193327
Diffstat (limited to 'audio/gtkhirad')
-rw-r--r--audio/gtkhirad/Makefile28
-rw-r--r--audio/gtkhirad/distinfo3
-rw-r--r--audio/gtkhirad/files/patch-Makefile26
-rw-r--r--audio/gtkhirad/pkg-descr3
-rw-r--r--audio/gtkhirad/pkg-plist6
5 files changed, 66 insertions, 0 deletions
diff --git a/audio/gtkhirad/Makefile b/audio/gtkhirad/Makefile
new file mode 100644
index 000000000000..46f72baba1f6
--- /dev/null
+++ b/audio/gtkhirad/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: gtkhirad
+# Date created: 2007/06/10
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtkhirad
+PORTVERSION= 0.2
+CATEGORIES= audio chinese gnome
+MASTER_SITES= http://pcman.sayya.org/gtkhirad/
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Hinet Radio player using GTK
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget \
+ mplayer:${PORTSDIR}/multimedia/mplayer
+
+USE_BZIP2= yes
+USE_GNOME= gtk20 intlhack
+USE_GMAKE= yes
+USE_ICONV= yes
+USE_XLIB= yes
+USE_LDCONFIG= yes
+
+MAKE_ARGS= prefix=${PREFIX}
+
+.include <bsd.port.mk>
diff --git a/audio/gtkhirad/distinfo b/audio/gtkhirad/distinfo
new file mode 100644
index 000000000000..08bc293c8d78
--- /dev/null
+++ b/audio/gtkhirad/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtkhirad-0.2.tar.bz2) = 94d1c032fe467bc5432244f51c0f5057
+SHA256 (gtkhirad-0.2.tar.bz2) = a9935a364325020928d7f5cfb2ea144fdb6a386c7b5363a6f6cebd9ca605718b
+SIZE (gtkhirad-0.2.tar.bz2) = 22456
diff --git a/audio/gtkhirad/files/patch-Makefile b/audio/gtkhirad/files/patch-Makefile
new file mode 100644
index 000000000000..6771411c3fa4
--- /dev/null
+++ b/audio/gtkhirad/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- Makefile.orig Sat Jun 9 21:08:22 2007
++++ Makefile Tue Jun 12 17:46:28 2007
+@@ -2,7 +2,7 @@
+ GTK2_LIBS=`pkg-config gtk+-2.0 --libs`
+
+ OBJS=gtkhirad.o eggtrayicon.o
+-PREFIX=/usr
++PREFIX?= $(prefix)
+
+ all: $(OBJS)
+ cc -o gtkhirad $(GTK2_LIBS) $(OBJS)
+@@ -18,10 +18,13 @@
+ rm -f *.o
+
+ install: all
++ install -d $(PREFIX)/bin
+ install -s gtkhirad $(PREFIX)/bin/gtkhirad
+- mkdir -p $(PREFIX)/lib/gtkhirad
++ install -d $(PREFIX)/share/applications
+ install gtkhirad.desktop $(PREFIX)/share/applications/gtkhirad.desktop
++ install -d $(PREFIX)/share/pixmaps
+ install gtkhirad.png $(PREFIX)/share/pixmaps/gtkhirad.png
++ install -d $(PREFIX)/lib/gtkhirad
+ install play.pl $(PREFIX)/lib/gtkhirad/play.pl
+ install update_menu.pl $(PREFIX)/lib/gtkhirad/update_menu.pl
+
diff --git a/audio/gtkhirad/pkg-descr b/audio/gtkhirad/pkg-descr
new file mode 100644
index 000000000000..d3bf3ebb4265
--- /dev/null
+++ b/audio/gtkhirad/pkg-descr
@@ -0,0 +1,3 @@
+GtkHiRad is a Hinet Radio player using GTK,
+
+WWW: http://pcman.sayya.org/gtkhirad/
diff --git a/audio/gtkhirad/pkg-plist b/audio/gtkhirad/pkg-plist
new file mode 100644
index 000000000000..cf666d2df3c1
--- /dev/null
+++ b/audio/gtkhirad/pkg-plist
@@ -0,0 +1,6 @@
+bin/gtkhirad
+lib/gtkhirad/play.pl
+lib/gtkhirad/update_menu.pl
+share/pixmaps/gtkhirad.png
+share/applications/gtkhirad.desktop
+@dirrmtry lib/gtkhirad