aboutsummaryrefslogtreecommitdiff
path: root/audio/autools
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-27 02:33:17 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-27 02:33:17 +0000
commit7cb3f28a4ab4e1903ce1cc3fc8438ea123e52514 (patch)
tree566d60e106cfcfc84f5c4f33e7199629299a5e20 /audio/autools
parentbd155ecfdc867baea263d86d8af1da884163354f (diff)
downloadports-7cb3f28a4ab4e1903ce1cc3fc8438ea123e52514.tar.gz
ports-7cb3f28a4ab4e1903ce1cc3fc8438ea123e52514.zip
Notes
Diffstat (limited to 'audio/autools')
-rw-r--r--audio/autools/Makefile21
-rw-r--r--audio/autools/distinfo2
-rw-r--r--audio/autools/files/patch-Makefile29
3 files changed, 21 insertions, 31 deletions
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 <bsd.port.mk>
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
-