aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tta
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tta')
-rw-r--r--audio/tta/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index 9c11196348b4..fa502bd386b5 100644
--- a/audio/tta/Makefile
+++ b/audio/tta/Makefile
@@ -12,25 +12,25 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}enc-src
DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= multimedia@FreeBSD.org
COMMENT= The True Audio Encoder, lossless (de)compressor
-PROGRAM= ttaenc
+LICENSE= GPLv2
+
+USE_GMAKE= yes
+ALL_TARGET= ttaenc
+MAKE_ARGS= CFLAGS="${CFLAGS}" INSDIR="${PREFIX}/bin"
-PORTDOCS= README
PLIST_FILES= bin/ttaenc
+PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
- ${WRKSRC}/${PROGRAM}.h
-
-do-build:
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} \
- ${WRKSRC}/${PROGRAM}.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
+ ${WRKSRC}/ttaenc.h
+ @${REINPLACE_CMD} -e 's|gcc|${CC}| ; /strip/d ; \
+ s|install -m 755|${INSTALL_PROGRAM}|' ${WRKSRC}/Makefile
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}