Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
# New ports collection makefile for: pacpl
|
|
|
|
# Date created: 21 July 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pacpl
|
2007-02-16 12:04:53 +00:00
|
|
|
PORTVERSION= 3.3.0
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
CATEGORIES= audio
|
2006-11-03 23:01:27 +00:00
|
|
|
MASTER_SITES= SFE
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
|
|
COMMENT= Perl Audio Converter
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/MP3/Tag.pm:${PORTSDIR}/audio/p5-MP3-Tag \
|
|
|
|
${SITE_PERL}/MP4/Info.pm:${PORTSDIR}/multimedia/p5-MP4-Info \
|
|
|
|
${SITE_PERL}/Audio/WMA.pm:${PORTSDIR}/audio/p5-Audio-WMA \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Ogg/Vorbis/Header.pm:${PORTSDIR}/audio/p5-Ogg-Vorbis-Header \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Audio/FLAC/Header.pm:${PORTSDIR}/audio/p5-Audio-FLAC-Header \
|
|
|
|
${SITE_PERL}/Audio/Musepack.pm:${PORTSDIR}/audio/p5-Audio-Musepack \
|
|
|
|
lame:${PORTSDIR}/audio/lame \
|
|
|
|
oggenc:${PORTSDIR}/audio/vorbis-tools \
|
|
|
|
flac:${PORTSDIR}/audio/flac \
|
|
|
|
mac:${PORTSDIR}/audio/mac \
|
|
|
|
shorten:${PORTSDIR}/audio/shorten \
|
|
|
|
faac:${PORTSDIR}/audio/faac \
|
|
|
|
faad:${PORTSDIR}/audio/faad \
|
|
|
|
mppenc:${PORTSDIR}/audio/musepack \
|
|
|
|
wavpack:${PORTSDIR}/audio/wavpack \
|
|
|
|
ttaenc:${PORTSDIR}/audio/tta \
|
|
|
|
kexis:${PORTSDIR}/audio/kexis \
|
|
|
|
sox:${PORTSDIR}/audio/sox \
|
|
|
|
ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
|
|
|
|
bonk:${PORTSDIR}/audio/bonk \
|
|
|
|
mplayer:${PORTSDIR}/multimedia/mplayer \
|
|
|
|
cdparanoia:${PORTSDIR}/audio/cdparanoia \
|
|
|
|
mpg123:${PORTSDIR}/audio/mpg123 \
|
|
|
|
laudio:${PORTSDIR}/audio/laudio \
|
|
|
|
ofr:${PORTSDIR}/audio/optimfrog \
|
|
|
|
lpac:${PORTSDIR}/audio/lpac
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
NO_BUILD= yes
|
2006-08-02 06:13:26 +00:00
|
|
|
PACPL_LNG_FILES= help long_help rip_help tag_help video_help
|
|
|
|
PACPL_LNGS= FR PT
|
2007-02-16 12:04:53 +00:00
|
|
|
PACPL_PATHS= lame oggenc oggdec flac mac shorten faac faad mplayer mppenc mppdec wavpack wvunpack \
|
|
|
|
ofr ofs ttaenc lpac sox ffmpeg la:laudio bonk cdparanoia kdialog
|
|
|
|
AMAROK_SCR= transcoding_pacx.pl
|
2006-12-19 23:30:02 +00:00
|
|
|
AMAROK_SCR_DIR= share/apps/amarok/scripts/transcoding_pacx
|
|
|
|
KONQ_MIME= ape bonk kxs la lpac ofr ofs shn tta wavpack
|
|
|
|
KONQ_SVCM= ${PORTNAME}
|
|
|
|
KONQ_MIME_DIR= share/mimelnk/audio
|
|
|
|
KONQ_SVCM_DIR= share/apps/konqueror/servicemenus
|
2006-08-02 06:13:26 +00:00
|
|
|
PLIST_FILES= bin/pacpl etc/pacpl/pacpl.conf \
|
|
|
|
${PACPL_LNG_FILES:S,^,etc/pacpl/lang/FR/,:S,$,.FR,} \
|
2006-12-19 23:30:02 +00:00
|
|
|
${PACPL_LNG_FILES:S,^,etc/pacpl/lang/PT/,:S,$,.PT,} \
|
|
|
|
${AMAROK_SCR:S|^|${AMAROK_SCR_DIR}/|} \
|
|
|
|
${AMAROK_SCR_DIR}/transcoding_pacx.spec \
|
|
|
|
${KONQ_MIME:S|^|${KONQ_MIME_DIR}/x-|:S|$|.desktop|} \
|
|
|
|
${KONQ_SVCM:S|^|${KONQ_SVCM_DIR}/|:S|$|.desktop|}
|
2006-08-02 06:13:26 +00:00
|
|
|
PLIST_DIRS= etc/pacpl/lang/FR etc/pacpl/lang/PT etc/pacpl/lang etc/pacpl
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
MAN1= pacpl.1
|
|
|
|
|
|
|
|
post-extract:
|
2006-08-02 06:13:26 +00:00
|
|
|
@${GUNZIP_CMD} ${WRKSRC}/man/pacpl.1.gz
|
2007-02-16 12:04:53 +00:00
|
|
|
@cd ${WRKSRC}/kde/amarok/pacx && ${MV} pacx transcoding_pacx.pl
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
|
|
|
|
post-patch:
|
2006-08-02 06:13:26 +00:00
|
|
|
@${REINPLACE_CMD} -e 's#/etc#${PREFIX}/etc#' ${WRKSRC}/pacpl
|
2007-02-16 12:04:53 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/dev/cdrom|/dev/acd0|;/NICE/!s|/usr/bin|${LOCALBASE}/bin|'\
|
|
|
|
${WRKSRC}/pacpl.conf
|
|
|
|
.for _bin in ${PACPL_PATHS}
|
|
|
|
@${REINPLACE_CMD} -e '/^${_bin:C/:.*//:U} .*=/s|=.*|=${LOCALBASE}/bin/${_bin:C/.*://}|'\
|
|
|
|
${WRKSRC}/pacpl.conf
|
|
|
|
.endfor
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
|
|
|
|
do-install:
|
2006-08-02 06:13:26 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/pacpl ${PREFIX}/bin/
|
|
|
|
@${INSTALL} -d ${PACPL_LNGS:S,^,${PREFIX}/etc/pacpl/lang/,}
|
|
|
|
@${INSTALL_DATA} ${PACPL_LNG_FILES:S,^,${WRKSRC}/lang/FR/,:S,$,.FR,} ${PREFIX}/etc/pacpl/lang/FR/
|
|
|
|
@${INSTALL_DATA} ${PACPL_LNG_FILES:S,^,${WRKSRC}/lang/PT/,:S,$,.PT,} ${PREFIX}/etc/pacpl/lang/PT/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pacpl.conf ${PREFIX}/etc/pacpl/
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/pacpl.1 ${MAN1PREFIX}/man/man1/
|
2006-12-19 23:30:02 +00:00
|
|
|
@${INSTALL} -d ${PREFIX}/${AMAROK_SCR_DIR}/
|
|
|
|
@${INSTALL} -d ${PREFIX}/${KONQ_MIME_DIR}/
|
|
|
|
@${INSTALL} -d ${PREFIX}/${KONQ_SVCM_DIR}/
|
2007-02-16 12:04:53 +00:00
|
|
|
@${INSTALL_DATA} ${AMAROK_SCR:S|^|${WRKSRC}/kde/amarok/pacx/|} \
|
2006-12-19 23:30:02 +00:00
|
|
|
${PREFIX}/${AMAROK_SCR_DIR}/
|
|
|
|
@${INSTALL_DATA} ${KONQ_MIME:S|^|${WRKSRC}/kde/konqueror/mimes/x-|:S|$|.desktop|} \
|
|
|
|
${PREFIX}/${KONQ_MIME_DIR}/
|
|
|
|
@${INSTALL_DATA} ${KONQ_SVCM:S|^|${WRKSRC}/kde/konqueror/|:S|$|.desktop|} \
|
|
|
|
${PREFIX}/${KONQ_SVCM_DIR}/
|
|
|
|
@${CHMOD} a+x ${PREFIX}/${AMAROK_SCR_DIR}/*pl
|
|
|
|
@${ECHO_CMD} "name = Pacx" > ${PREFIX}/${AMAROK_SCR_DIR}/transcoding_pacx.spec
|
2006-12-19 23:40:18 +00:00
|
|
|
@${ECHO_CMD} "type = transcode" >> ${PREFIX}/${AMAROK_SCR_DIR}/transcoding_pacx.spec
|
Add port audio/pacpl:
Perl Audio Converter (PAC) is a tool for converting multiple audio types
from one format to another. It supports MP2, MP3, Ogg Vorbis, FLAC,
Shorten, Monkey Audio, FAAC (AAC/M4A/MP4), Musepack (MPC), Wavpack (WV),
OptimFrog (OFR/OFS), TTA, LPAC, Kexis (KXS), AIFF, AC3, Lossless Audio
(LA), BONK, AU, SND, RAW, VOC, SMP, RealAudio (RA/RAM), WAV, and WMA. It
can also convert audio from the following video formats/extensions: RM,
RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, VOB, and WMV. A
CD ripping function with CDDB support, batch and playlist conversion,
tag preservation for most supported formats, independent tag reading/
writing, and extensions for Konqueror and Amarok are also provided.
WWW: http://pacpl.sourceforge.net/
Author: Philip Lyons <viiron@gmail.com>
2006-07-21 23:58:01 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|