diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 12:08:00 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 12:08:00 +0000 |
commit | 0041dc47f932d3667929d644c5ffcf93e924f0ee (patch) | |
tree | 2858be01423f2af85d6ad3e2c41561abc7645346 /sysutils/namefix | |
parent | 2dc5b66f11648002e3328cb10c5de9eef154050f (diff) | |
download | ports-0041dc47f932d3667929d644c5ffcf93e924f0ee.tar.gz ports-0041dc47f932d3667929d644c5ffcf93e924f0ee.zip |
Notes
Diffstat (limited to 'sysutils/namefix')
-rw-r--r-- | sysutils/namefix/Makefile | 16 | ||||
-rw-r--r-- | sysutils/namefix/distinfo | 6 |
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 |