mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
5ecb8a85a2
Submitted by: sat
40 lines
830 B
Makefile
40 lines
830 B
Makefile
# New ports collection makefile for: TTA encoder
|
|
# Date created: 10 Aug 2004
|
|
# Whom: Martin Dieringer <Martin.Dieringer@t-online.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tta
|
|
PORTVERSION= 3.4.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= The True Audio Encoder, lossless (de)compressor
|
|
|
|
PROGRAM= ttaenc
|
|
|
|
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} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} \
|
|
${WRKSRC}/${PROGRAM}.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|