diff options
author | sat <sat@FreeBSD.org> | 2006-08-02 14:13:26 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-08-02 14:13:26 +0800 |
commit | 1bbd6b4b47312f2138b7f713719be12342afd96a (patch) | |
tree | 4a497258c676e23ea070fd0ec7013dd39bf26e51 /audio/pacpl/Makefile | |
parent | 4a103dd3b3e673de3f5b92cf1b4447f6fb401630 (diff) | |
download | freebsd-ports-gnome-1bbd6b4b47312f2138b7f713719be12342afd96a.tar.gz freebsd-ports-gnome-1bbd6b4b47312f2138b7f713719be12342afd96a.tar.zst freebsd-ports-gnome-1bbd6b4b47312f2138b7f713719be12342afd96a.zip |
- Update to 3.2.1
Diffstat (limited to 'audio/pacpl/Makefile')
-rw-r--r-- | audio/pacpl/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/audio/pacpl/Makefile b/audio/pacpl/Makefile index 2a7ad1f2361b..895204ce93eb 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> |