aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/namefix
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-07 20:08:00 +0800
committersat <sat@FreeBSD.org>2007-08-07 20:08:00 +0800
commitd6df399e53ccc161f06965fb85c180b55c98c432 (patch)
tree18af95d689ef57275cf33cb78aa916c2a88a7bd5 /sysutils/namefix
parent83777e948115186652b7bc11c0b58d112f1aa17a (diff)
downloadfreebsd-ports-gnome-d6df399e53ccc161f06965fb85c180b55c98c432.tar.gz
freebsd-ports-gnome-d6df399e53ccc161f06965fb85c180b55c98c432.tar.zst
freebsd-ports-gnome-d6df399e53ccc161f06965fb85c180b55c98c432.zip
- Update to 4.0_RC5
Diffstat (limited to 'sysutils/namefix')
-rw-r--r--sysutils/namefix/Makefile16
-rw-r--r--sysutils/namefix/distinfo6
2 files changed, 12 insertions, 10 deletions
diff --git a/sysutils/namefix/Makefile b/sysutils/namefix/Makefile
index d29cc17508e2..c10cd9a3e6e5 100644
--- a/sysutils/namefix/Makefile
+++ b/sysutils/namefix/Makefile
@@ -6,12 +6,10 @@
#
PORTNAME= namefix
-DISTVERSION= 4.0_RC4
-PORTREVISION= 1
+DISTVERSION= 4.0_RC5
CATEGORIES= sysutils
MASTER_SITES= SF
DISTNAME= ${PORTNAME}.pl_${DISTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Batch renamer
@@ -21,15 +19,19 @@ RUN_DEPENDS= p5-MP3-Tag>=0:${PORTSDIR}/audio/p5-MP3-Tag \
p5-Tk-JComboBox>=0:${PORTSDIR}/x11-toolkits/p5-Tk-JComboBox \
p5-Tk-DynaTabFrame>=0:${PORTSDIR}/x11-toolkits/p5-Tk-DynaTabFrame
-NO_WRKSUBDIR= yes
+WRKSRC= ${WRKDIR}/usr/local/namefix.pl
NO_BUILD= yes
+USE_BZIP2= yes
+
+post-extract:
+ @${FIND} ${WRKSRC} -name '*~' -delete
post-patch:
- @${REINPLACE_CMD} -e 's!libs/!${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/!' ${WRKSRC}/${PORTNAME}.pl
+ @${REINPLACE_CMD} -e 's|$$prog_dir/libs/|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/|'\
+ ${WRKSRC}/${PORTNAME}.pl
do-install:
- @${INSTALL} -d ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
- @${CP} -R ${WRKSRC}/libs/ ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/
+ @cd ${WRKSRC}/libs/&&${COPYTREE_SHARE} . ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/sysutils/namefix/distinfo b/sysutils/namefix/distinfo
index 505eed8e9ff0..9196faacb3a9 100644
--- a/sysutils/namefix/distinfo
+++ b/sysutils/namefix/distinfo
@@ -1,3 +1,3 @@
-MD5 (namefix.pl_4.0_RC4.tgz) = 748d0e49a894abb01c28894b1c9b221a
-SHA256 (namefix.pl_4.0_RC4.tgz) = 1b9acaee203457c4460a0bfaa72b9912998d3b424894ddb0590c7ca3b06e4120
-SIZE (namefix.pl_4.0_RC4.tgz) = 110369
+MD5 (namefix.pl_4.0_RC5.tar.bz2) = 506bcd7cbb4c925cc781b12eb68a9595
+SHA256 (namefix.pl_4.0_RC5.tar.bz2) = 16707da2ac7ae8965fa26a06d0c1257c5457102950522457fcfac7867f91a98c
+SIZE (namefix.pl_4.0_RC5.tar.bz2) = 111968