diff options
Diffstat (limited to 'audio/tta/Makefile')
-rw-r--r-- | audio/tta/Makefile | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/audio/tta/Makefile b/audio/tta/Makefile index 08be4d9f33a6..cc2fb9a47049 100644 --- a/audio/tta/Makefile +++ b/audio/tta/Makefile @@ -5,19 +5,24 @@ # $FreeBSD$ # -PORTNAME= tta -PORTVERSION= 3.2 -CATEGORIES= audio -MASTER_SITES= http://www.true-audio.com/ftp/ -DISTNAME= ${PORTNAME}enc-${PORTVERSION}-src +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 +MAINTAINER= dieringe@zedat.fu-berlin.de +COMMENT= "The True Audio Encoder", lossless (de)compressor -USE_ZIP= yes -USE_GMAKE= yes -WRKSRC= ${WRKDIR} -ALL_TARGET= +USE_ZIP= yes + +WRKSRC= ${WRKDIR} +LDFLAGS+= -lm + +PROGRAM= ttaenc + +PORTDOCS= Readme +PLIST_FILES= bin/ttaenc .include <bsd.port.pre.mk> @@ -25,4 +30,16 @@ ALL_TARGET= 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> |