svn commit: r367974 - head/audio/openspc
Tijl Coosemans
tijl at FreeBSD.org
Thu Sep 11 20:10:41 UTC 2014
Author: tijl
Date: Thu Sep 11 20:10:40 2014
New Revision: 367974
URL: http://svnweb.freebsd.org/changeset/ports/367974
QAT: https://qat.redports.org/buildarchive/r367974/
Log:
- Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Add USE_AUTOTOOLS=libtoolize (and others) because the bundled libtool is
too old to support FreeBSD 4 and higher
Modified:
head/audio/openspc/Makefile
Modified: head/audio/openspc/Makefile
==============================================================================
--- head/audio/openspc/Makefile Thu Sep 11 20:10:18 2014 (r367973)
+++ head/audio/openspc/Makefile Thu Sep 11 20:10:40 2014 (r367974)
@@ -3,7 +3,7 @@
PORTNAME= openspc
PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://membres.lycos.fr/pixels/ \
CRITICAL
@@ -13,16 +13,25 @@ MAINTAINER= ehaupt at FreeBSD.org
COMMENT= Command-line player for .spc and .zst files
ONLY_FOR_ARCHS= i386 # contains x86 asm code
-USE_LDCONFIG= yes
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USES= libtool
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS= -a -c -f
USE_GCC= any
+USE_LDCONFIG= yes
PORTDOCS= README
-PLIST_FILES= bin/OpenSPClite include/OpenSPC.h lib/libOpenSPC.so \
- lib/libOpenSPC.so.3 lib/libOpenSPC.la lib/libOpenSPC.a
+PLIST_FILES= bin/OpenSPClite include/OpenSPC.h lib/libOpenSPC.a \
+ lib/libOpenSPC.so lib/libOpenSPC.so.0 lib/libOpenSPC.so.0.3.1
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} '1,/AUDIOFILE/d' ${WRKSRC}/acinclude.m4
+ @${REINPLACE_CMD} '/AC_PROG_CC/{p;s/.*/AM_PROG_AS/;}' \
+ ${WRKSRC}/configure.in
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-all
mailing list