freebsd-ports/audio/crip/Makefile
Philip Paeps fe01c023ca Update to 3.6.
Approved by:	krion
2005-05-11 17:25:41 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: crip
# Date created: 30 June 2003
# Whom: Philip Paeps <philip@paeps.cx>
#
# $FreeBSD$
#
PORTNAME= crip
PORTVERSION= 3.6
CATEGORIES= audio
MASTER_SITES= http://bach.dynet.com/crip/src/
MAINTAINER= philip@FreeBSD.org
COMMENT= Terminal-based ripper/encoder/tagger
RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get \
cdparanoia:${PORTSDIR}/audio/cdparanoia \
oggenc:${PORTSDIR}/audio/vorbis-tools \
vorbisgain:${PORTSDIR}/audio/vorbisgain
.if defined(WITH_SOX)
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= Changelog README criprc_example
.endif
NO_BUILD= yes
pre-fetch:
.if !defined (WITH_SOX)
@${ECHO_MSG} "Define WITH_SOX to enable normalization with sox."
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/crip ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>