aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/pacpl/Makefile32
-rw-r--r--audio/pacpl/distinfo6
-rw-r--r--audio/pacpl/files/patch-pac.conf4
3 files changed, 21 insertions, 21 deletions
diff --git a/audio/pacpl/Makefile b/audio/pacpl/Makefile
index 2a7ad1f2361..895204ce93e 100644
--- a/audio/pacpl/Makefile
+++ b/audio/pacpl/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= pacpl
-PORTVERSION= 3.2.0
+PORTVERSION= 3.2.1
CATEGORIES= audio
MASTER_SITES= SF
-DISTNAME= pac-${PORTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Perl Audio Converter
@@ -43,26 +42,27 @@ RUN_DEPENDS= ${SITE_PERL}/MP3/Tag.pm:${PORTSDIR}/audio/p5-MP3-Tag \
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
+PACPL_LNG_FILES= help long_help rip_help tag_help video_help
+PACPL_LNGS= FR PT
+PLIST_FILES= bin/pacpl etc/pacpl/pacpl.conf \
+ ${PACPL_LNG_FILES:S,^,etc/pacpl/lang/FR/,:S,$,.FR,} \
+ ${PACPL_LNG_FILES:S,^,etc/pacpl/lang/PT/,:S,$,.PT,}
+PLIST_DIRS= etc/pacpl/lang/FR etc/pacpl/lang/PT etc/pacpl/lang etc/pacpl
MAN1= pacpl.1
post-extract:
- @${GUNZIP_CMD} ${WRKSRC}/man/pac.1.gz
+ @${GUNZIP_CMD} ${WRKSRC}/man/pacpl.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
+ @${REINPLACE_CMD} -e 's#/etc#${PREFIX}/etc#' ${WRKSRC}/pacpl
+ @${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' ${WRKSRC}/pacpl.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
+ @${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/
.include <bsd.port.mk>
diff --git a/audio/pacpl/distinfo b/audio/pacpl/distinfo
index 3173effcb8d..5a389393538 100644
--- a/audio/pacpl/distinfo
+++ b/audio/pacpl/distinfo
@@ -1,3 +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
+MD5 (pacpl-3.2.1.tar.gz) = c9ee4cffc1a7e81f2c8a4762588735b9
+SHA256 (pacpl-3.2.1.tar.gz) = 745a54d607ba74082faf17ebab928d80dc036648fc86344b0bfe8ddfba612e9f
+SIZE (pacpl-3.2.1.tar.gz) = 116430
diff --git a/audio/pacpl/files/patch-pac.conf b/audio/pacpl/files/patch-pac.conf
index 710252190e3..8c703197880 100644
--- a/audio/pacpl/files/patch-pac.conf
+++ b/audio/pacpl/files/patch-pac.conf
@@ -1,5 +1,5 @@
---- ./pac.conf.orig Wed Jul 19 03:20:52 2006
-+++ ./pac.conf Sat Jul 22 03:22:44 2006
+--- ./pacpl.conf.orig Wed Jul 19 03:20:52 2006
++++ ./pacpl.conf Sat Jul 22 03:22:44 2006
@@ -18,117 +18,117 @@
# LAME