aboutsummaryrefslogtreecommitdiff
path: root/audio/tta/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-11-08 13:33:42 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-11-08 13:33:42 +0000
commit5ecb8a85a2a160c8102baf757e32a78ec3e5d228 (patch)
treeaac0c426c458f583e51becc8bc8ad5e31653be4b /audio/tta/Makefile
parent23b9bced0bdce4df3ec5b763933938a15f1ba28c (diff)
downloadports-5ecb8a85a2a160c8102baf757e32a78ec3e5d228.tar.gz
ports-5ecb8a85a2a160c8102baf757e32a78ec3e5d228.zip
Notes
Diffstat (limited to 'audio/tta/Makefile')
-rw-r--r--audio/tta/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index 36a80111ba40..dd5f0eecdac6 100644
--- a/audio/tta/Makefile
+++ b/audio/tta/Makefile
@@ -6,27 +6,27 @@
#
PORTNAME= tta
-PORTVERSION= 3.3
+PORTVERSION= 3.4.1
CATEGORIES= audio
-MASTER_SITES= http://www.true-audio.com/ftp/
+MASTER_SITES= SF
DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src
+EXTRACT_SUFX= .tgz
MAINTAINER= danfe@FreeBSD.org
COMMENT= The True Audio Encoder, lossless (de)compressor
-USE_ZIP= yes
-NO_WRKSUBDIR= yes
-
-LDFLAGS+= -lm
-
PROGRAM= ttaenc
-PORTDOCS= Readme
+PORTDOCS= README
PLIST_FILES= bin/ttaenc
+post-patch:
+ @${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
+ ${WRKSRC}/${PROGRAM}.h
+
do-build:
- ${CC} ${CFLAGS} -c ${WRKSRC}/${PROGRAM}.c -o ${WRKSRC}/${PROGRAM}.o
- ${CC} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} ${WRKSRC}/${PROGRAM}.o
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} \
+ ${WRKSRC}/${PROGRAM}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin