1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/sysutils/titlefix/Makefile

30 lines
813 B
Makefile

PORTNAME= titlefix
PORTVERSION= 0.5.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Renames files in a proper English title format
WWW= https://sourceforge.net/projects/titlefix/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= id3v2:audio/id3v2
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}
USE_PERL5= run
NO_BUILD= yes
NO_ARCH= yes
MAN1S= titlefix.1 titlefixid3.1 titleid3.1
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@cd ${STAGEDIR}${PREFIX}/bin; ${LN} -sf ${PORTNAME} titlefixid3
@cd ${STAGEDIR}${PREFIX}/bin; ${LN} -sf ${PORTNAME} titleid3
@${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/man1/,} ${STAGEDIR}${PREFIX}/share/man/man1/
.include <bsd.port.mk>