summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-08-18 09:03:18 +0000
committersat <sat@FreeBSD.org>2006-08-18 09:03:18 +0000
commit61290b04b60a2013dfeb1e678f2ef6f9fe6f71af (patch)
treefa5890642f34370df491a7fba2d821e2eaae8929 /sysutils
parent13e7e9340e6f53f050f9234aac83c4519ed7b21a (diff)
downloadFreeBSD-ports-61290b04b60a2013dfeb1e678f2ef6f9fe6f71af.zip
FreeBSD-ports-61290b04b60a2013dfeb1e678f2ef6f9fe6f71af.tar.gz
Add port sysutils/titlefix:
Renames files in a proper English title format: prepositions, conjunctions, and articles (<5 letters) are in lowercase unless they are the first or last word in the title; all others begin with uppercase. Can use id3v2 to tag mp3s using info in filename. WWW: http://sourceforge.net/projects/titlefix/
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/titlefix/Makefile28
-rw-r--r--sysutils/titlefix/distinfo3
-rw-r--r--sysutils/titlefix/pkg-descr6
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 98fb6f2..5338bb8 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -575,6 +575,7 @@
SUBDIR += ticker.app
SUBDIR += timelimit
SUBDIR += tinybsd
+ SUBDIR += titlefix
SUBDIR += tmpreaper
SUBDIR += tmpwatch
SUBDIR += topless
diff --git a/sysutils/titlefix/Makefile b/sysutils/titlefix/Makefile
new file mode 100644
index 0000000..4265054
--- /dev/null
+++ b/sysutils/titlefix/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: titlefix
+# Date created: 17 August 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= titlefix
+PORTVERSION= 0.5
+CATEGORIES= sysutils
+MASTER_SITES= SF
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Renames files in a proper English title format
+
+RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
+
+USE_PERL5_RUN= yes
+NO_BUILD= yes
+MAN1= titlefix.1 titlefixid3.1 titleid3.1
+PLIST_FILES= bin/titlefix bin/titlefixid3 bin/titleid3
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${LN} -sf ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/titlefixid3
+ @${LN} -sf ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/titleid3
+ @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man1/,} ${MAN1PREFIX}/man/man1/
+.include <bsd.port.mk>
diff --git a/sysutils/titlefix/distinfo b/sysutils/titlefix/distinfo
new file mode 100644
index 0000000..68c1a125
--- /dev/null
+++ b/sysutils/titlefix/distinfo
@@ -0,0 +1,3 @@
+MD5 (titlefix-0.5.tar.gz) = cf44b0814fdb1990406d92d177041d8a
+SHA256 (titlefix-0.5.tar.gz) = 761a32eaae96ac96d13122621281a9e1856256bf6156f0b65bcba7a8dbda36c9
+SIZE (titlefix-0.5.tar.gz) = 11124
diff --git a/sysutils/titlefix/pkg-descr b/sysutils/titlefix/pkg-descr
new file mode 100644
index 0000000..c0cfdf4
--- /dev/null
+++ b/sysutils/titlefix/pkg-descr
@@ -0,0 +1,6 @@
+Renames files in a proper English title format: prepositions, conjunctions,
+and articles (<5 letters) are in lowercase unless they are the first or
+last word in the title; all others begin with uppercase. Can use id3v2 to
+tag mp3s using info in filename.
+
+WWW: http://sourceforge.net/projects/titlefix/
OpenPOWER on IntegriCloud