# New ports collection makefile for: tooLAME # Date created: Wed May 22 16:53:26 BRT 2002 # Whom: Mario Sergio Fujikawa Ferreira # # $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 USE_REINPLACE= 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 post-patch: .ifndef(WITH_OPTIMIZED_CFLAGS) @${REINPLACE_CMD} -E -e 's|\$$\(TWEAKS\)||' \ ${WRKSRC}/Makefile .endif .ifndef(WITH_PROFILED) @${REINPLACE_CMD} -E -e 's|\$$\(PG\)||' \ ${WRKSRC}/Makefile .endif @${REINPLACE_CMD} -E -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