aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/namefix
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-08-28 14:27:24 +0800
committersat <sat@FreeBSD.org>2006-08-28 14:27:24 +0800
commit49788f0b78b53739b034626ed788cb8ad5bbed82 (patch)
tree7631f70d5239dcfc6087edb73114ebc40ca18945 /sysutils/namefix
parente1f39d114a2ee198a35e69be5c41690bbde23cc6 (diff)
downloadfreebsd-ports-gnome-49788f0b78b53739b034626ed788cb8ad5bbed82.tar.gz
freebsd-ports-gnome-49788f0b78b53739b034626ed788cb8ad5bbed82.tar.zst
freebsd-ports-gnome-49788f0b78b53739b034626ed788cb8ad5bbed82.zip
Add port sysutils/namefix:
namefix.pl is a platform independant batch file renamer. Aimed at cleaning up media files downloaded from p2p networks. It has many features to automate the normally tedious job of filename tidying. WWW: http://namefix.blogspot.com/ Author: Jacob Jarick <mem.namefix@gmail.com>
Diffstat (limited to 'sysutils/namefix')
-rw-r--r--sysutils/namefix/Makefile33
-rw-r--r--sysutils/namefix/distinfo3
-rw-r--r--sysutils/namefix/pkg-descr6
-rw-r--r--sysutils/namefix/pkg-plist19
4 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/namefix/Makefile b/sysutils/namefix/Makefile
new file mode 100644
index 000000000000..3582a9372e92
--- /dev/null
+++ b/sysutils/namefix/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: namefix
+# Date created: 28 August 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= namefix
+PORTVERSION= 3.7
+CATEGORIES= sysutils
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}.pl.${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Batch renamer
+
+RUN_DEPENDS= p5-MP3-Tag>=0:${PORTSDIR}/audio/p5-MP3-Tag \
+ p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
+ p5-Tk-DynaTabFrame>=0:${PORTSDIR}/x11-toolkits/p5-Tk-DynaTabFrame
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's!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}
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/sysutils/namefix/distinfo b/sysutils/namefix/distinfo
new file mode 100644
index 000000000000..90ed6451e885
--- /dev/null
+++ b/sysutils/namefix/distinfo
@@ -0,0 +1,3 @@
+MD5 (namefix.pl.3.7.tgz) = 40da0173bc50891c305c98363278e1c1
+SHA256 (namefix.pl.3.7.tgz) = b9cfbc8a02cfae741b4185556f00ee9b6a124cd8a18649ad329c5fd20c4c0bf3
+SIZE (namefix.pl.3.7.tgz) = 106107
diff --git a/sysutils/namefix/pkg-descr b/sysutils/namefix/pkg-descr
new file mode 100644
index 000000000000..9e369b8076f0
--- /dev/null
+++ b/sysutils/namefix/pkg-descr
@@ -0,0 +1,6 @@
+namefix.pl is a platform independant batch file renamer. Aimed at
+cleaning up media files downloaded from p2p networks. It has many
+features to automate the normally tedious job of filename tidying.
+
+WWW: http://namefix.blogspot.com/
+Author: Jacob Jarick <mem.namefix@gmail.com>
diff --git a/sysutils/namefix/pkg-plist b/sysutils/namefix/pkg-plist
new file mode 100644
index 000000000000..f1b7b34d02d2
--- /dev/null
+++ b/sysutils/namefix/pkg-plist
@@ -0,0 +1,19 @@
+bin/namefix.pl
+%%SITE_PERL%%/namefix/about.pm
+%%SITE_PERL%%/namefix/arrays.pm
+%%SITE_PERL%%/namefix/bookmarks.pm
+%%SITE_PERL%%/namefix/changelog.pm
+%%SITE_PERL%%/namefix/config.pm
+%%SITE_PERL%%/namefix/dir.pm
+%%SITE_PERL%%/namefix/edit_lists.pm
+%%SITE_PERL%%/namefix/filter.pm
+%%SITE_PERL%%/namefix/fixname.pm
+%%SITE_PERL%%/namefix/links.pm
+%%SITE_PERL%%/namefix/manual.pm
+%%SITE_PERL%%/namefix/menu.pm
+%%SITE_PERL%%/namefix/misc.pm
+%%SITE_PERL%%/namefix/mp3.pm
+%%SITE_PERL%%/namefix/run_namefix.pm
+%%SITE_PERL%%/namefix/thanks.pm
+%%SITE_PERL%%/namefix/todo.pm
+@dirrm %%SITE_PERL%%/namefix