From 7cb3f28a4ab4e1903ce1cc3fc8438ea123e52514 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sat, 27 Jul 2002 02:33:17 +0000 Subject: [PATCH] Update to 1.1.9 PR: ports/41025 Submitted by: KATO Tsuguru --- audio/autools/Makefile | 21 ++++++++++++++++++++- audio/autools/distinfo | 2 +- audio/autools/files/patch-Makefile | 29 ----------------------------- 3 files changed, 21 insertions(+), 31 deletions(-) delete mode 100644 audio/autools/files/patch-Makefile diff --git a/audio/autools/Makefile b/audio/autools/Makefile index d55b5d0a4832..085481d4a022 100644 --- a/audio/autools/Makefile +++ b/audio/autools/Makefile @@ -7,7 +7,7 @@ # PORTNAME= autools -PORTVERSION= 1.1.8 +PORTVERSION= 1.1.9 CATEGORIES= audio MASTER_SITES= http://www.tnt.uni-hannover.de/~purnhage/software/ EXTRACT_SUFX= .tgz @@ -16,6 +16,25 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/libtsp.a:${PORTSDIR}/audio/afsp +USE_REINPLACE= yes USE_GMAKE= yes +MAKE_ENV= AFSP_INCLUDE_PATH="${LOCALBASE}/include" \ + AFSP_LIBRARY_PATH="${LOCALBASE}/lib" + +PROGRAMS= ac3spdif augen auquant auquery fifo playlist plax randhead \ + wav2au +SCRIPTS= catcol dao2toc genam genfm toc2plax-cut toc2plax-idx \ + toc2plax-trk toc2toc + +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS = -O3|CFLAGS +=|g' ${WRKSRC}/Makefile + +do-install: +.for file in ${PROGRAMS} + ${INSTALL_PROGRAM} ${WRKSRC}/unknown/${file} ${PREFIX}/bin +.endfor +.for file in ${SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin +.endfor .include diff --git a/audio/autools/distinfo b/audio/autools/distinfo index a2d1e5d8f45c..84ce273f036b 100644 --- a/audio/autools/distinfo +++ b/audio/autools/distinfo @@ -1 +1 @@ -MD5 (autools-1.1.8.tgz) = 3b19f161a5525ec32da6abc3fa45ded3 +MD5 (autools-1.1.9.tgz) = 151d3bf96eaead5bb07b49d7b62c5209 diff --git a/audio/autools/files/patch-Makefile b/audio/autools/files/patch-Makefile deleted file mode 100644 index 0c547f5ce423..000000000000 --- a/audio/autools/files/patch-Makefile +++ /dev/null @@ -1,29 +0,0 @@ ---- Makefile.orig Thu Jul 4 13:49:11 2002 -+++ Makefile Thu Jul 4 13:52:33 2002 -@@ -78,7 +78,7 @@ - - - # directory for binaries used by "make install" --INSTALL_DIR = /usr/local/bin -+INSTALL_DIR = ${PREFIX}/bin - - - ifeq "$(MAKELEVEL)" "0" -@@ -91,6 +91,8 @@ - - # paths for AFsp's libtsp can be set by the environment variables - # AFSP_INCLUDE_PATH and AFSP_LIBRARY_PATH -+AFSP_INCLUDE_PATH = ${LOCALBASE}/include -+AFSP_LIBRARY_PATH = ${LOCALBASE}/lib - - # disable AFsp by "make USE_AFSP=0" - ifndef USE_AFSP -@@ -110,7 +112,7 @@ - CFLAGS = -g -fbounds-checking -Wall - LDFLAGS = -g -fbounds-checking - else --CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-unused -+#CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-unused - endif - endif -