1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/audio/ripit/Makefile
Martin Wilke 5eca1867d9 - Add p5-libwww as depend
PR:		ports/102758
Submitted by:	Soeren Straarup <xride@x12.dk>
Approved by:	Øyvind Møll (maintainer)
2006-09-02 14:09:24 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: ripit
# Date created: 2 May 1999
# Whom: oyvindmo@initio.no
#
# $FreeBSD$
#
PORTNAME= ripit
PORTVERSION= 3.5.1
CATEGORIES= audio
MASTER_SITES= http://www.suwald.com/ripit/
MAINTAINER= oyvind@moll.no
COMMENT= A perl-script frontend for encoding audio CDs to MP3 files
# See pkg-message about other dependencies.
RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get
RUN_DEPENDS+= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
RUN_DEPENDS+= cdparanoia:${PORTSDIR}/audio/cdparanoia
NO_BUILD= yes
PLIST_FILES= bin/ripit.pl \
bin/ripit \
share/examples/ripit/config
PLIST_DIRS= share/examples/ripit
MAN1= ripit.1
USE_PERL5_RUN= yes
USE_BZIP2= yes
post-patch:
@ ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|" ${WRKSRC}/ripit
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ripit ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
post-install:
@ ${LN} -s ${PREFIX}/bin/ripit ${PREFIX}/bin/ripit.pl
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>