freebsd-ports/sysutils/titlefix/Makefile
Andrew Pantyukhin f34d452231 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/
2006-08-18 09:03:18 +00:00

28 lines
778 B
Makefile

# 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>