cdba9d364f
PR: 149334 Submitted by: Tobias Rehbein <tobias.rehbein@web.de> (maintainer)
46 lines
1.2 KiB
Makefile
46 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.9.0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.suwald.com/ripit/
|
|
|
|
MAINTAINER= tobias.rehbein@web.de
|
|
COMMENT= A command line audio CD ripper
|
|
|
|
# See pkg-message about other dependencies.
|
|
RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get \
|
|
${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
|
|
${SITE_PERL}/WebService/MusicBrainz.pm:${PORTSDIR}/www/p5-WebService-MusicBrainz \
|
|
p5-MusicBrainz-DiscID>=0:${PORTSDIR}/audio/p5-MusicBrainz-DiscID \
|
|
lame:${PORTSDIR}/audio/lame \
|
|
cdparanoia:${PORTSDIR}/audio/cdparanoia \
|
|
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/ripit
|
|
MAN1= ripit.1
|
|
PORTEXAMPLES= config
|
|
USE_PERL5_RUN= yes
|
|
USE_BZIP2= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|#!/usr/bin/env perl|#!${PERL}|" ${WRKSRC}/ripit.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
|
|
${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|