2013-08-31 01:01:05 +02:00
|
|
|
# Created by: Martin Dieringer <Martin.Dieringer@t-online.de>
|
2004-12-15 03:59:39 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-10-06 09:09:04 +02:00
|
|
|
PORTNAME= tta
|
2008-11-08 14:33:42 +01:00
|
|
|
PORTVERSION= 3.4.1
|
2005-10-06 09:09:04 +02:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}enc-src
|
2005-10-06 09:09:04 +02:00
|
|
|
DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src
|
2008-11-08 14:33:42 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2004-12-15 03:59:39 +01:00
|
|
|
|
2012-01-31 07:51:27 +01:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2008-02-04 21:31:39 +01:00
|
|
|
COMMENT= The True Audio Encoder, lossless (de)compressor
|
2004-12-15 03:59:39 +01:00
|
|
|
|
2012-01-31 07:51:27 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2013-08-31 01:01:05 +02:00
|
|
|
USES= gmake
|
2012-01-31 07:51:27 +01:00
|
|
|
ALL_TARGET= ttaenc
|
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}" INSDIR="${PREFIX}/bin"
|
2005-10-06 09:09:04 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/ttaenc
|
2012-01-31 07:51:27 +01:00
|
|
|
PORTDOCS= README
|
2004-12-15 03:59:39 +01:00
|
|
|
|
2008-11-08 14:33:42 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
|
2012-01-31 07:51:27 +01:00
|
|
|
${WRKSRC}/ttaenc.h
|
2012-02-06 13:29:24 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|__inline void|static &|' ${WRKSRC}/ttaenc.c
|
2012-01-31 07:51:27 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}| ; /strip/d ; \
|
|
|
|
s|install -m 755|${INSTALL_PROGRAM}|' ${WRKSRC}/Makefile
|
2005-10-06 09:09:04 +02:00
|
|
|
|
2012-01-31 07:51:27 +01:00
|
|
|
post-install:
|
2005-10-06 09:09:04 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-02-04 21:31:39 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-10-06 09:09:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-04-14 18:20:45 +02:00
|
|
|
.include <bsd.port.mk>
|