aboutsummaryrefslogtreecommitdiff
path: root/audio/pacpl
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-07-21 23:58:01 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-07-21 23:58:01 +0000
commitb90427b486d73ded4b54512035c98a86d39d159d (patch)
treec8a0d76450a1e5f96ec5291ee6f853d914a919b3 /audio/pacpl
parent883617d2609c7a995578500ab931fe7e62d7c9f9 (diff)
downloadports-b90427b486d73ded4b54512035c98a86d39d159d.tar.gz
ports-b90427b486d73ded4b54512035c98a86d39d159d.zip
Notes
Diffstat (limited to 'audio/pacpl')
-rw-r--r--audio/pacpl/Makefile69
-rw-r--r--audio/pacpl/distinfo3
-rw-r--r--audio/pacpl/files/patch-pac.conf209
-rw-r--r--audio/pacpl/pkg-descr13
4 files changed, 294 insertions, 0 deletions
diff --git a/audio/pacpl/Makefile b/audio/pacpl/Makefile
new file mode 100644
index 000000000000..ca7da62dda91
--- /dev/null
+++ b/audio/pacpl/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: pacpl
+# Date created: 21 July 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pacpl
+PORTVERSION= 3.2.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= pac-${PORTVERSION}
+
+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
+FR_FILES= help long_help rip_help tag_help video_help
+PLIST_FILES= bin/pacpl etc/pacpl/pacpl.conf ${FR_FILES:S,^,etc/pacpl/lang/FR/,:S,$,.FR,}
+PLIST_DIRS= etc/pacpl/lang/FR etc/pacpl/lang etc/pacpl
+MAN1= pacpl.1
+
+post-extract:
+ @${GUNZIP_CMD} ${WRKSRC}/man/pac.1.gz
+
+post-patch:
+ @${REINPLACE_CMD} -e 's#/etc#${PREFIX}/etc#' ${WRKSRC}/pac
+ @${REINPLACE_CMD} -Ee 's#([^a-zA-Z]|^)pac([^a-zA-Z]|$$)#\1pacpl\2#g' \
+ -Ee 's#([^a-zA-Z]|^)PAC([^a-zA-Z]|$$)#\1PACPL\2#g' \
+ ${WRKSRC}/pac ${WRKSRC}/man/pac.1
+ @${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' ${WRKSRC}/pac.conf
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/pac ${PREFIX}/bin/pacpl
+ @${INSTALL} -d ${PREFIX}/etc/pacpl/lang/FR
+ @${INSTALL_DATA} ${WRKSRC}/pac.conf ${PREFIX}/etc/pacpl/pacpl.conf
+ @${INSTALL_DATA} ${FR_FILES:S,^,${WRKSRC}/lang/FR/,:S,$,.FR,} ${PREFIX}/etc/pacpl/lang/FR/
+ @${INSTALL_MAN} ${WRKSRC}/man/pac.1 ${MAN1PREFIX}/man/man1/pacpl.1
+
+.include <bsd.port.mk>
diff --git a/audio/pacpl/distinfo b/audio/pacpl/distinfo
new file mode 100644
index 000000000000..3173effcb8d1
--- /dev/null
+++ b/audio/pacpl/distinfo
@@ -0,0 +1,3 @@
+MD5 (pac-3.2.0.tar.gz) = 6915ba0cb5d257434ecfd1029488c43b
+SHA256 (pac-3.2.0.tar.gz) = a18d80eb3d5a5ca55bb7296866b25e6553333160dcb80da5919674fafd85915e
+SIZE (pac-3.2.0.tar.gz) = 110891
diff --git a/audio/pacpl/files/patch-pac.conf b/audio/pacpl/files/patch-pac.conf
new file mode 100644
index 000000000000..710252190e38
--- /dev/null
+++ b/audio/pacpl/files/patch-pac.conf
@@ -0,0 +1,209 @@
+--- ./pac.conf.orig Wed Jul 19 03:20:52 2006
++++ ./pac.conf Sat Jul 22 03:22:44 2006
+@@ -18,117 +18,117 @@
+
+ # LAME
+ ###########################
+-LAME =
++LAME = %%LOCALBASE%%/bin/lame
+
+
+ # Ogg Vorbis Encoder
+ #############################
+-OGGENC =
++OGGENC = %%LOCALBASE%%/bin/oggenc
+
+
+ # Ogg Vorbis Decoder
+ #############################
+-OGGDEC =
++OGGDEC = %%LOCALBASE%%/bin/oggdec
+
+
+ # Flac Encoder & Decoder
+ ###########################
+-FLAC =
++FLAC = %%LOCALBASE%%/bin/flac
+
+
+ # Monkey Audio (APE) Encoder/Decoder
+ ####################################
+-MAC =
++MAC = %%LOCALBASE%%/bin/mac
+
+
+ #Shorten (SHN) Encoder/Decoder
+ ##############################
+-SHORTEN =
++SHORTEN = %%LOCALBASE%%/bin/shorten
+
+
+ # (AAC/MP4/M4A) Encoder
+ ###########################
+-FAAC =
++FAAC = %%LOCALBASE%%/bin/faac
+
+
+ # (AAC/MP4/M4A) Decoder
+ ###########################
+-FAAD =
++FAAD = %%LOCALBASE%%/bin/faad
+
+
+ # Multi-Decoder
+ ###############################
+-MPLAYER =
++MPLAYER = %%LOCALBASE%%/bin/mplayer
+
+
+ # Musepack Encoder
+ #############################
+-MPPENC =
++MPPENC = %%LOCALBASE%%/bin/mppenc
+
+
+ # Musepack Decoder
+ #############################
+-MPPDEC =
++MPPDEC = %%LOCALBASE%%/bin/mppdec
+
+
+ # Wavpack Encoder
+ ##############################
+-WAVPACK =
++WAVPACK = %%LOCALBASE%%/bin/wavpack
+
+
+ # Wavpack Decoder
+ ###############################
+-WVUNPACK =
++WVUNPACK = %%LOCALBASE%%/bin/wvunpack
+
+
+ # OptimFrog (OFR) Encoder/Decoder
+ #################################
+-OFR =
++OFR = %%LOCALBASE%%/bin/ofr
+
+
+ # OptimFrog (OFS) Encoder/Decoder
+ #################################
+-OFS =
++OFS = %%LOCALBASE%%/bin/ofs
+
+
+ # TTA Encoder/Decoder
+ #############################
+-TTAENC =
++TTAENC = %%LOCALBASE%%/bin/ttaenc
+
+
+ # LPAC Encoder/Decoder
+ ###########################
+-LPAC =
++LPAC = %%LOCALBASE%%/bin/lpac
+
+
+ # SOX (SOund eXchange)
+ ##########################
+-SOX =
++SOX = %%LOCALBASE%%/bin/sox
+
+
+ # FFmpeg
+ #############################
+-FFMPEG =
++FFMPEG = %%LOCALBASE%%/bin/ffmpeg
+
+
+ # Lossless Audio (LA)
+ #########################
+-LA =
++LA = %%LOCALBASE%%/bin/laudio
+
+
+ # BONK
+ ##########################
+-BONK =
++BONK = %%LOCALBASE%%/bin/bonk
+
+
+ # CD Reader/Ripper
+ #################################
+-CDPARANOIA =
++CDPARANOIA = %%LOCALBASE%%/bin/cdparanoia
+
+
+ # CDROM Device
+ #########################
+-CDROM = /dev/cdrom
++CDROM = /dev/acd0
+
+
+ #########################
+@@ -149,47 +149,47 @@
+
+ # MP3 Player
+ ##############################
+-MP3PLAYER = /usr/bin/mpg123
++MP3PLAYER = %%LOCALBASE%%/bin/mpg123
+
+
+ # Ogg Vorbis Player
+ ##############################
+-OGGPLAYER = /usr/bin/ogg123
++OGGPLAYER = %%LOCALBASE%%/bin/ogg123
+
+
+ # FLAC Player
+ ###############################
+-FLACPLAYER = /usr/bin/mplayer
++FLACPLAYER = %%LOCALBASE%%/bin/mplayer
+
+
+ # MP4 Player
+ ###############################
+-MP4PLAYER = /usr/bin/mplayer
++MP4PLAYER = %%LOCALBASE%%/bin/mplayer
+
+
+ # Musepack (MPC) Player
+ ##############################
+-MPCPLAYER = /usr/bin/mppdec
++MPCPLAYER = %%LOCALBASE%%/bin/mppdec
+
+
+ # BONK Player
+ ############################
+-BNKPLAYER = /usr/bin/bonk
++BNKPLAYER = %%LOCALBASE%%/bin/bonk
+
+
+ # WAV Player
+ ############################
+-WAVPLAYER = /usr/bin/play
++WAVPLAYER = %%LOCALBASE%%/bin/play
+
+
+ # WMA Player
+ ###############################
+-WMAPLAYER = /usr/bin/mplayer
++WMAPLAYER = %%LOCALBASE%%/bin/mplayer
+
+
+ # RealAudio (RA) Player
+ ###############################
+-RAPLAYER = /usr/bin/mplayer
++RAPLAYER = %%LOCALBASE%%/bin/mplayer
+
+
+
+@@ -358,7 +358,7 @@
+
+ # Path to kdialog binary
+ #
+-KDIALOG = /opt/kde/bin/kdialog
++KDIALOG = %%LOCALBASE%%/bin/kdialog
+
+ # Notify file converstion start/end & other various messages
+ #
diff --git a/audio/pacpl/pkg-descr b/audio/pacpl/pkg-descr
new file mode 100644
index 000000000000..02f57fc17103
--- /dev/null
+++ b/audio/pacpl/pkg-descr
@@ -0,0 +1,13 @@
+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>