Date: Sun, 6 Jan 2013 02:32:57 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/175037: audio/ifp-line: Update to version 0.3 Message-ID: <20130106023257.55d3013f739869333afaa5da@yahoo.com> Resent-Message-ID: <201301051810.r05IAAtd001687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175037 >Category: ports >Synopsis: audio/ifp-line: Update to version 0.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 18:10:10 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Update to version 0.3 Remove file: files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/ifp-line/Makefile audio/ifp-line/Makefile --- /usr/ports/audio/ifp-line/Makefile 2012-12-06 16:31:11.000000000 +0900 +++ audio/ifp-line/Makefile 2013-01-05 22:11:30.000000000 +0900 @@ -1,36 +1,47 @@ -# ex:ts=8 -# New ports collection makefile for: ifp-line -# Date created: Sep 21, 2004 -# Whom: riggs -# +# Created by: riggs # $FreeBSD: head/audio/ifp-line/Makefile 308350 2012-12-05 19:20:14Z zi $ -# PORTNAME= ifp-line -PORTVERSION= 0.2.4.6 +PORTVERSION= 0.3 CATEGORIES= audio MASTER_SITES= SF/ifp-driver/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Command line interface to iRiver music players -MAN1= ifp.1 +LICENSE= GPLv2 + +USE_ICONV= yes +USE_AUTOTOOLS= aclocal autoheader automake autoconf +ACLOCAL_ARGS= -I m4 +MAKE_JOBS_UNSAFE= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +MAN1= ifp.1 +PORTDOCS= NEWS README TIPS nonroot.sh PLIST_FILES+= bin/ifp .include <bsd.port.pre.mk> .if ${OSVERSION} < 800069 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.else +LDFLAGS+= -lusb .endif post-patch: -.if ${OSVERSION} >= 800069 - @${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \ - -e 's,`libusb-config --libs`,-lusb,g' ${WRKSRC}/Makefile -.endif + @${REINPLACE_CMD} -e \ + '/LIBUSB/s|ERROR|WARN|' ${WRKSRC}/configure.ac -post-install: - @${CAT} ${.CURDIR}/pkg-message +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ifp ${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} ifp.1 ${MANPREFIX}/man/man1) +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) +.endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff -urN /usr/ports/audio/ifp-line/distinfo audio/ifp-line/distinfo --- /usr/ports/audio/ifp-line/distinfo 2012-11-08 05:36:07.000000000 +0900 +++ audio/ifp-line/distinfo 2013-01-05 21:56:17.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (ifp-line-0.2.4.6.tar.gz) = db2851958303b0b67167c1f5ad13dae78af4dd8da95e23fcc15272e90424f776 -SIZE (ifp-line-0.2.4.6.tar.gz) = 24699 +SHA256 (ifp-line-0.3.tar.gz) = 2d44807abbd5d2202d253b550b867dfa3776a71bf6d3f202b0f1254e66325257 +SIZE (ifp-line-0.3.tar.gz) = 138272 diff -urN /usr/ports/audio/ifp-line/files/patch-Makefile audio/ifp-line/files/patch-Makefile --- /usr/ports/audio/ifp-line/files/patch-Makefile 2012-11-08 05:36:07.000000000 +0900 +++ audio/ifp-line/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,35 +0,0 @@ ---- Makefile.orig Mon Oct 10 22:44:32 2005 -+++ Makefile Mon Oct 10 22:49:35 2005 -@@ -1,11 +1,7 @@ - # $Id: Makefile,v 1.9 2004/11/19 07:08:02 yamajun Exp $ - --CFLAGS = `libusb-config --cflags` -Wall -g --LDFLAGS = `libusb-config --libs` --PREFIX ?= /usr/local --BINDIR ?= ${PREFIX}/bin --MANDIR ?= ${PREFIX}/man/man1 --INSTALL ?= /usr/bin/install -+CFLAGS+= `libusb-config --cflags` -+LDFLAGS+= `libusb-config --libs` - - OBJS = ifp.o ifp_routines.o unicodehack.o - -@@ -13,15 +9,9 @@ - ifp: $(OBJS) - $(CC) -o ifp $(OBJS) $(LDFLAGS) - --$(BINDIR): -- mkdir -p $(BINDIR) -- --$(MANDIR): -- mkdir -p $(MANDIR) -- --install: ifp $(BINDIR) $(MANDIR) -- $(INSTALL) -c ifp $(BINDIR) -- $(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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130106023257.55d3013f739869333afaa5da>