diff options
author | edwin <edwin@FreeBSD.org> | 2004-10-13 23:47:49 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-10-13 23:47:49 +0000 |
commit | c528e6fbe3b9a1f1130b91497d2e18522e9a68c7 (patch) | |
tree | 57dce73a32ae5a2574a8d8af43b7ac6ce03a3440 /audio | |
parent | 290ed57618bc0e38474ee439e3f06d6e0ef43df6 (diff) | |
download | FreeBSD-ports-c528e6fbe3b9a1f1130b91497d2e18522e9a68c7.zip FreeBSD-ports-c528e6fbe3b9a1f1130b91497d2e18522e9a68c7.tar.gz |
[New port] audio/ifp-line (interface to iRiver music players)
This port provides a simple but easy to use, and via
scriptability powerful interface to control iRiver's great
'ifp' series portable music players.
If there is a 'manager firmware' installed on this device,
it's not possible to gain access via umass(4). This port
uses libusb to connect directly via ugen.
PR: ports/71987
Submitted by: Thomas E. Zander <riggs@rrr.de>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/ifp-line/Makefile | 27 | ||||
-rw-r--r-- | audio/ifp-line/distinfo | 2 | ||||
-rw-r--r-- | audio/ifp-line/files/patch-Makefile | 31 | ||||
-rw-r--r-- | audio/ifp-line/pkg-descr | 9 | ||||
-rw-r--r-- | audio/ifp-line/pkg-message | 8 |
6 files changed, 78 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index e094cc6..ce6cfb7 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -156,6 +156,7 @@ SUBDIR += id3ren SUBDIR += id3tool SUBDIR += id3v2 + SUBDIR += ifp-line SUBDIR += jack SUBDIR += jamboree SUBDIR += juk diff --git a/audio/ifp-line/Makefile b/audio/ifp-line/Makefile new file mode 100644 index 0000000..6744bee --- /dev/null +++ b/audio/ifp-line/Makefile @@ -0,0 +1,27 @@ +# ex:ts=8 +# New ports collection makefile for: ifp-line +# Date created: Sep 21, 2004 +# Whom: riggs +# +# $FreeBSD$ +# + +PORTNAME= ifp-line +PORTVERSION= 0.2.4.4 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ifp-driver + +MAINTAINER= riggs@rrr.de +COMMENT= Command line interface to iRiver music players + +LIB_DEPENDS= usb-0.1.7:${PORTSDIR}/devel/libusb + +MAN1= ifp.1 + +PLIST_FILES+= bin/ifp + +post-install: + @${CAT} ${.CURDIR}/pkg-message + +.include <bsd.port.mk> diff --git a/audio/ifp-line/distinfo b/audio/ifp-line/distinfo new file mode 100644 index 0000000..234b03e --- /dev/null +++ b/audio/ifp-line/distinfo @@ -0,0 +1,2 @@ +MD5 (ifp-line-0.2.4.4.tar.gz) = 188b41668cc74cea0f1b848c39637776 +SIZE (ifp-line-0.2.4.4.tar.gz) = 23879 diff --git a/audio/ifp-line/files/patch-Makefile b/audio/ifp-line/files/patch-Makefile new file mode 100644 index 0000000..81d9663 --- /dev/null +++ b/audio/ifp-line/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig Sun May 30 17:05:29 2004 ++++ Makefile Tue Sep 21 10:48:59 2004 +@@ -1,10 +1,5 @@ +-# $Id: Makefile,v 1.8 2004/05/30 15:05:29 yamajun Exp $ +- +-CFLAGS = `libusb-config --cflags` -Wall -g +-LDFLAGS = `libusb-config --libs` +-PREFIX ?= /usr/local +-MANDIR ?= ${PREFIX}/man/man1 +-INSTALL ?= /usr/bin/install ++CFLAGS+= `libusb-config --cflags` ++LDFLAGS+= `libusb-config --libs` + + OBJS = ifp.o ifp_routines.o unicodehack.o + +@@ -12,12 +7,9 @@ + ifp: $(OBJS) + $(CC) -o ifp $(OBJS) $(LDFLAGS) + +-$(MANDIR): +- mkdir -p $(MANDIR) +- +-install: ifp $(MANDIR) +- $(INSTALL) -c ifp $(PREFIX)/bin +- $(INSTALL) -c -m 644 ifp.1 $(MANDIR) ++install: ifp ++ @${BSD_INSTALL_PROGRAM} ifp $(PREFIX)/bin ++ @${BSD_INSTALL_MAN} ifp.1 $(PREFIX)/man/man1 + + ifp.o: ifp_routines.h + ifp_routines.o: ifp_routines.h unicodehack.h diff --git a/audio/ifp-line/pkg-descr b/audio/ifp-line/pkg-descr new file mode 100644 index 0000000..91c663a --- /dev/null +++ b/audio/ifp-line/pkg-descr @@ -0,0 +1,9 @@ +ifp-line is a simple command-line tool to provide basic +functionality to manage files on iRiver music players +which are using the "manager firmware". +Using this tool, you can +o add/remove files on the player +o view information about the player, e.g. battery status +o flash your firmware using an .hex file + +WWW: http://ifp-driver.sourceforge.net/ diff --git a/audio/ifp-line/pkg-message b/audio/ifp-line/pkg-message new file mode 100644 index 0000000..1b2dfa5 --- /dev/null +++ b/audio/ifp-line/pkg-message @@ -0,0 +1,8 @@ +NOTE: +ifp directly accesses the usb/ugen devices via libusb. So +if you want to use this application as a non-root user, you +have to make sure that the corresponding device nodes +/dev/usb<somenumber> and /dev/ugen<somenumber> where +<somenumber> is dependent on your personal usb environment +are readable and writable by the user intended to use the +tool. |