svn commit: r307245 - in head/audio: . harp
Jason Helfman
jgh at FreeBSD.org
Fri Nov 9 17:58:39 UTC 2012
Author: jgh
Date: Fri Nov 9 17:58:38 2012
New Revision: 307245
URL: http://svnweb.freebsd.org/changeset/ports/307245
Log:
Add harp 0.5.2, minimalist audio player.
PR: ports/173480
Feature safe: yes
Added:
head/audio/harp/
head/audio/harp/Makefile (contents, props changed)
head/audio/harp/distinfo (contents, props changed)
head/audio/harp/pkg-descr (contents, props changed)
head/audio/harp/pkg-plist (contents, props changed)
Modified:
head/audio/Makefile
Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile Fri Nov 9 16:38:54 2012 (r307244)
+++ head/audio/Makefile Fri Nov 9 17:58:38 2012 (r307245)
@@ -289,6 +289,7 @@
SUBDIR += gtkpod
SUBDIR += guspat
SUBDIR += gxmms2
+ SUBDIR += harp
SUBDIR += hawkvoice
SUBDIR += herrie
SUBDIR += hexter
Added: head/audio/harp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/harp/Makefile Fri Nov 9 17:58:38 2012 (r307245)
@@ -0,0 +1,80 @@
+# $FreeBSD$
+
+PORTNAME= harp
+PORTVERSION= 0.5.2
+CATEGORIES= audio
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= heckendorfc at gmail.com
+COMMENT= Minimalist audio player
+
+LICENSE= GPLv3
+
+GNU_CONFIGURE= yes
+
+USE_SQLITE= yes
+
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS JACK
+OPTIONS_DEFAULT= AAC FLAC MP3 SHOUTCAST VORBIS
+
+MAN1= harp.1
+PORTDOCS= README
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MAAC}
+LIB_DEPENDS+= faad:${PORTSDIR}/audio/faad
+PLIST_SUB+= AAC=""
+.else
+CONFIGURE_ARGS+= --without-aac
+PLIST_SUB+= AAC="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MFLAC}
+LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
+PLIST_SUB+= FLAC=""
+.else
+CONFIGURE_ARGS+= --without-flac
+PLIST_SUB+= FLAC="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MMP3}
+LIB_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
+PLIST_SUB+= MP3=""
+.else
+CONFIGURE_ARGS+= --without-mp3
+PLIST_SUB+= MP3="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MSHOUTCAST}
+PLIST_SUB+= STREAM=""
+.else
+CONFIGURE_ARGS+= --without-stream
+PLIST_SUB+= STREAM="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MVORBIS}
+LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis
+PLIST_SUB+= VORBIS=""
+.else
+CONFIGURE_ARGS+= --without-vorbis
+PLIST_SUB+= VORBIS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MJACK}
+CONFIGURE_ARGS+= --with-jack
+LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack
+.else
+CONFIGURE_ARGS+= --without-jack
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/audio/harp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/harp/distinfo Fri Nov 9 17:58:38 2012 (r307245)
@@ -0,0 +1,2 @@
+SHA256 (harp-0.5.2.tar.gz) = 49ec8815083000e50fc9cf9ca066571c0644f209f71feba068af2f413ceffd93
+SIZE (harp-0.5.2.tar.gz) = 392452
Added: head/audio/harp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/harp/pkg-descr Fri Nov 9 17:58:38 2012 (r307245)
@@ -0,0 +1,5 @@
+HARP is a music player designed for the purpose of providing
+minimalist users with a suitable replacement for music players
+with bulky user interfaces.
+
+WWW: http://harp.sourceforge.net/
Added: head/audio/harp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/harp/pkg-plist Fri Nov 9 17:58:38 2012 (r307245)
@@ -0,0 +1,24 @@
+bin/harp
+%%AAC%%lib/libharpaac.a
+%%AAC%%lib/libharpaac.la
+%%AAC%%lib/libharpaac.so
+%%FLAC%%lib/libharpflac.a
+%%FLAC%%lib/libharpflac.la
+%%FLAC%%lib/libharpflac.so
+%%MP3%%lib/libharpmp3.a
+%%MP3%%lib/libharpmp3.la
+%%MP3%%lib/libharpmp3.so
+%%STREAM%%lib/libharpstream.a
+%%STREAM%%lib/libharpstream.la
+%%STREAM%%lib/libharpstream.so
+%%VORBIS%%lib/libharpvorbis.a
+%%VORBIS%%lib/libharpvorbis.la
+%%VORBIS%%lib/libharpvorbis.so
+%%AAC%%%%DATADIR%%/libharpaac.sql
+%%FLAC%%%%DATADIR%%/libharpflac.sql
+%%MP3%%%%DATADIR%%/libharpmp3.sql
+%%STREAM%%%%DATADIR%%/libharpstream.sql
+%%VORBIS%%%%DATADIR%%/libharpvorbis.sql
+%%DATADIR%%/create.sql
+%%DATADIR%%/defaults.conf
+ at dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list