Index: head/audio/rioutil/Makefile =================================================================== --- head/audio/rioutil/Makefile (revision 401568) +++ head/audio/rioutil/Makefile (revision 401569) @@ -1,32 +1,24 @@ # Created by: George Reid # $FreeBSD$ PORTNAME= rioutil PORTVERSION= 1.5.0 PORTREVISION= 2 CATEGORIES= audio 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 Index: head/audio/rioutil/files/extra-patch-configure.ac =================================================================== --- head/audio/rioutil/files/extra-patch-configure.ac (revision 401568) +++ head/audio/rioutil/files/extra-patch-configure.ac (nonexistent) @@ -1,17 +0,0 @@ ---- 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) Property changes on: head/audio/rioutil/files/extra-patch-configure.ac ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/rioutil/files/patch-src__Makefile.in =================================================================== --- head/audio/rioutil/files/patch-src__Makefile.in (revision 401568) +++ head/audio/rioutil/files/patch-src__Makefile.in (nonexistent) @@ -1,33 +0,0 @@ ---- src/Makefile.in.orig Fri Feb 15 20:49:03 2008 -+++ src/Makefile.in Fri Feb 15 20:49:33 2008 -@@ -51,7 +51,7 @@ - am__installdirs = "$(DESTDIR)$(bindir)" - binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) - PROGRAMS = $(bin_PROGRAMS) --am_rioutil_OBJECTS = main.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) -+am_rioutil_OBJECTS = main.$(OBJEXT) - rioutil_OBJECTS = $(am_rioutil_OBJECTS) - DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include - depcomp = $(SHELL) $(top_srcdir)/depcomp -@@ -172,9 +172,9 @@ - sharedstatedir = @sharedstatedir@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ --INCLUDES = -I$(top_srcdir)/include -I/usr/local/include --rioutil_SOURCES = main.c getopt.c getopt1.c main.h getopt.h --@MACOSX_FALSE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -+INCLUDES = -I$(top_srcdir)/include -+rioutil_SOURCES = main.c main.h -+@MACOSX_FALSE@rioutil_LDADD = $(top_srcdir)/librioutil/librioutil.la - @MACOSX_TRUE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit - @MACOSX_TRUE@PREBIND_FLAGS = -prebind - rioutil_LDFLAGS = $(PREBIND_FLAGS) -@@ -250,8 +250,6 @@ - distclean-compile: - -rm -f *.tab.c - --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ - - .c.o: Property changes on: head/audio/rioutil/files/patch-src__Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/rioutil/files/patch-configure.ac =================================================================== --- head/audio/rioutil/files/patch-configure.ac (nonexistent) +++ head/audio/rioutil/files/patch-configure.ac (revision 401569) @@ -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) Property changes on: head/audio/rioutil/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/rioutil/files/patch-src_Makefile.am =================================================================== --- head/audio/rioutil/files/patch-src_Makefile.am (nonexistent) +++ head/audio/rioutil/files/patch-src_Makefile.am (revision 401569) @@ -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) Property changes on: head/audio/rioutil/files/patch-src_Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/rioutil/pkg-plist =================================================================== --- head/audio/rioutil/pkg-plist (revision 401568) +++ head/audio/rioutil/pkg-plist (revision 401569) @@ -1,6 +1,7 @@ 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