Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 20:10:41 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367974 - head/audio/openspc
Message-ID:  <201409112010.s8BKAfx6030317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409112010.s8BKAfx6030317>