1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/audio/tta/Makefile
Emanuel Haupt 9112e12f4d Update audio/tta to 3.3
PR:		86939
Submitted by:	dieringe@zedat.fu-berlin.de (maintainer)
Approved by:	novel (mentor)
2005-10-06 07:09:04 +00:00

46 lines
947 B
Makefile

# New ports collection makefile for: tta
# Date created: 10 Aug 2004
# Whom: dieringe
#
# $FreeBSD$
#
PORTNAME= tta
PORTVERSION= 3.3
CATEGORIES= audio
MASTER_SITES= http://www.true-audio.com/ftp/
DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src
MAINTAINER= dieringe@zedat.fu-berlin.de
COMMENT= "The True Audio Encoder", lossless (de)compressor
USE_ZIP= yes
WRKSRC= ${WRKDIR}
LDFLAGS+= -lm
PROGRAM= ttaenc
PORTDOCS= Readme
PLIST_FILES= bin/ttaenc
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= Requires FreeBSD 5.x or higher for wide character support
.endif
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/${PROGRAM}.c -o ${WRKSRC}/${PROGRAM}.o
${CC} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} ${WRKSRC}/${PROGRAM}.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>