summaryrefslogtreecommitdiff
path: root/audio/tta/Makefile
blob: 3c3aafc120c8b5cfa09aa078bda468272d9d14e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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=	ports@FreeBSD.org
COMMENT=	"The True Audio Encoder", lossless (de)compressor

USE_ZIP=	yes

WRKSRC=		${WRKDIR}
LDFLAGS+=	-lm

PROGRAM=	ttaenc

PORTDOCS=	Readme
PLIST_FILES=	bin/ttaenc

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.mk>