aboutsummaryrefslogtreecommitdiff
path: root/audio/rioutil/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rioutil/Makefile')
-rw-r--r--audio/rioutil/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/audio/rioutil/Makefile b/audio/rioutil/Makefile
index 80a47fe600c7..8d71e2b2e6eb 100644
--- a/audio/rioutil/Makefile
+++ b/audio/rioutil/Makefile
@@ -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 <bsd.port.pre.mk>
-
-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 <bsd.port.post.mk>
+.include <bsd.port.mk>