diff options
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/toolame/Makefile | 59 | ||||
-rw-r--r-- | audio/toolame/distinfo | 1 | ||||
-rw-r--r-- | audio/toolame/pkg-comment | 1 | ||||
-rw-r--r-- | audio/toolame/pkg-descr | 11 | ||||
-rw-r--r-- | audio/toolame/pkg-plist | 9 |
6 files changed, 82 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index ffe716ec90c4..5f47fbb54e24 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -229,6 +229,7 @@ SUBDIR += timidity++-tcltk SUBDIR += timidity++-xaw SUBDIR += timidity++-xskin + SUBDIR += toolame SUBDIR += tosha SUBDIR += tracker SUBDIR += umix diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile new file mode 100644 index 000000000000..ea4e2ea51f0c --- /dev/null +++ b/audio/toolame/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: tooLAME +# Date created: Wed May 22 16:53:26 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= toolame +PORTVERSION= 0.2i +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//} +EXTRACT_SUFX= .tgz + +MAINTAINER= lioux@FreeBSD.org + +USE_GMAKE= yes +ALL_TARGET= ${PORTNAME} + +DOC_FILES= CHANGES COPYING FUTURE GPL HISTORY README README.VBR + +pre-everything:: +.ifndef(WITH_OPTIMIZED_CFLAGS) + @${ECHO_MSG} '>>>' + @${ECHO_MSG} '>>> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS' + @${ECHO_MSG} ">>> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" +.endif + @${ECHO_MSG} '>>>' +.ifndef(WITH_PROFILED) + @${ECHO_MSG} ">>> You can enable profiling by defining WITH_PROFILED" +.endif + +.include <bsd.port.pre.mk> + +post-patch: +.ifndef(WITH_OPTIMIZED_CFLAGS) + @${PERL} -pi -e 's|\$$\(TWEAKS\)||' \ + ${WRKSRC}/Makefile +.endif +.ifndef(WITH_PROFILED) + @${PERL} -pi -e 's|\$$\(PG\)||' \ + ${WRKSRC}/Makefile +.endif + @${PERL} -pi.orig -e \ + 's@^CC\s.+|\$$\((ARCH|DMALLOCLIB|DMAL|OPTIM|WARNING)\)@@g' \ + ${WRKSRC}/Makefile + +do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + @${INSTALL_PROGRAM} ${WRKSRC}/toolame ${PREFIX}/bin + + +.include <bsd.port.post.mk> diff --git a/audio/toolame/distinfo b/audio/toolame/distinfo new file mode 100644 index 000000000000..1778b821b48c --- /dev/null +++ b/audio/toolame/distinfo @@ -0,0 +1 @@ +MD5 (toolame-02i.tgz) = 5d9960dce79b7f80fb58a6c55c117a35 diff --git a/audio/toolame/pkg-comment b/audio/toolame/pkg-comment new file mode 100644 index 000000000000..d4978bd1fde4 --- /dev/null +++ b/audio/toolame/pkg-comment @@ -0,0 +1 @@ +Optimized mpeg 1/2 layer 2 audio encoder diff --git a/audio/toolame/pkg-descr b/audio/toolame/pkg-descr new file mode 100644 index 000000000000..690427000a22 --- /dev/null +++ b/audio/toolame/pkg-descr @@ -0,0 +1,11 @@ +[ excerpt from developer's README ] + +tooLAME is an optimized Mpeg Audio 1/2 Layer 2 encoder based heavily +on: + +- the ISO dist10 code +- improvement to algorithms as part of the LAME project + (www.sulaco.org/mp3) +- work by myself and other contributors + +WWW: http://toolame.sourceforge.net/ diff --git a/audio/toolame/pkg-plist b/audio/toolame/pkg-plist new file mode 100644 index 000000000000..a07bba77377f --- /dev/null +++ b/audio/toolame/pkg-plist @@ -0,0 +1,9 @@ +bin/toolame +%%PORTDOCS%%share/doc/toolame/CHANGES +%%PORTDOCS%%share/doc/toolame/COPYING +%%PORTDOCS%%share/doc/toolame/FUTURE +%%PORTDOCS%%share/doc/toolame/GPL +%%PORTDOCS%%share/doc/toolame/HISTORY +%%PORTDOCS%%share/doc/toolame/README +%%PORTDOCS%%share/doc/toolame/README.VBR +%%PORTDOCS%%@dirrm share/doc/toolame |