From owner-svn-ports-head@freebsd.org Sat Nov 14 13:56:34 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DD53A2E47D; Sat, 14 Nov 2015 13:56:34 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4AF21FAF; Sat, 14 Nov 2015 13:56:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAEDuWIe024147; Sat, 14 Nov 2015 13:56:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAEDuWJd024143; Sat, 14 Nov 2015 13:56:32 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201511141356.tAEDuWJd024143@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 14 Nov 2015 13:56:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401569 - in head/audio/rioutil: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 13:56:34 -0000 Author: amdmi3 Date: Sat Nov 14 13:56:32 2015 New Revision: 401569 URL: https://svnweb.freebsd.org/changeset/ports/401569 Log: - Add LICENSE - Switch to USES=autoreconf - Clean the port up Added: head/audio/rioutil/files/patch-configure.ac - copied unchanged from r401568, head/audio/rioutil/files/extra-patch-configure.ac head/audio/rioutil/files/patch-src_Makefile.am (contents, props changed) Deleted: head/audio/rioutil/files/extra-patch-configure.ac head/audio/rioutil/files/patch-src__Makefile.in Modified: head/audio/rioutil/Makefile head/audio/rioutil/pkg-plist Modified: head/audio/rioutil/Makefile ============================================================================== --- head/audio/rioutil/Makefile Sat Nov 14 13:52:42 2015 (r401568) +++ head/audio/rioutil/Makefile Sat Nov 14 13:56:32 2015 (r401569) @@ -10,23 +10,15 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Program to interface with the Rio600, Rio800, and psa[play devices -USES= gmake libtool +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf gmake libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -.include - -EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.ac -USE_AUTOTOOLS= autoconf - post-extract: -# @${RM} -f ${WRKSRC}/src/getopt* -# Fix for GCC 4.2 - @${REINPLACE_CMD} -e 's,read_buffer = .*),(&),' \ - ${WRKSRC}/librioutil/rio.c + @${RM} -f ${WRKSRC}/src/getopt* -.include +.include Copied: head/audio/rioutil/files/patch-configure.ac (from r401568, head/audio/rioutil/files/extra-patch-configure.ac) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/rioutil/files/patch-configure.ac Sat Nov 14 13:56:32 2015 (r401569, copy of r401568, head/audio/rioutil/files/extra-patch-configure.ac) @@ -0,0 +1,17 @@ +--- configure.ac.orig 2009-03-07 01:48:24.000000000 +0300 ++++ configure.ac 2009-03-07 01:49:07.000000000 +0300 +@@ -74,13 +74,7 @@ + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(WITH_LIBUSB) + +- AC_PATH_PROG(LIBUSB_CONFIG,libusb-config) +- if test -n "${LIBUSB_CONFIG}"; then +- CFLAGS="`${LIBUSB_CONFIG} --cflags` $CFLAGS" +- LIBS="`${LIBUSB_CONFIG} --libs` $LIBS" +- else +- AC_MSG_ERROR(Can't find libusb) +- fi ++ LIBS="-lusb $LIBS" + + AC_CHECK_LIB(usb, usb_open) + AC_SUBST(WITH_LIBUSB) Added: head/audio/rioutil/files/patch-src_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/rioutil/files/patch-src_Makefile.am Sat Nov 14 13:56:32 2015 (r401569) @@ -0,0 +1,20 @@ +--- src/Makefile.am.orig 2006-08-07 15:47:28 UTC ++++ src/Makefile.am +@@ -1,14 +1,14 @@ + bin_PROGRAMS = rioutil + +-INCLUDES = -I$(top_srcdir)/include -I/usr/local/include ++INCLUDES = -I$(top_srcdir)/include + +-rioutil_SOURCES = main.c getopt.c getopt1.c main.h getopt.h ++rioutil_SOURCES = main.c main.h + + if MACOSX + rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit + PREBIND_FLAGS = -prebind + else +-rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la ++rioutil_LDADD = $(top_srcdir)/librioutil/librioutil.la + endif + + rioutil_LDFLAGS = $(PREBIND_FLAGS) Modified: head/audio/rioutil/pkg-plist ============================================================================== --- head/audio/rioutil/pkg-plist Sat Nov 14 13:52:42 2015 (r401568) +++ head/audio/rioutil/pkg-plist Sat Nov 14 13:56:32 2015 (r401569) @@ -2,5 +2,6 @@ bin/rioutil include/rio.h lib/librioutil.a lib/librioutil.so +lib/librioutil.so.1 lib/librioutil.so.1.5.0 man/man1/rioutil.1.gz