1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/namefix/Makefile
2007-12-13 09:29:42 +00:00

40 lines
1002 B
Makefile

# New ports collection makefile for: namefix
# Date created: 28 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= namefix
DISTVERSION= 4.0-RC8
CATEGORIES= sysutils
MASTER_SITES= CENKES #SF
#DISTNAME= ${PORTNAME}.pl_${DISTVERSION}
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-JComboBox>=0:${PORTSDIR}/x11-toolkits/p5-Tk-JComboBox \
p5-Tk-DynaTabFrame>=0:${PORTSDIR}/x11-toolkits/p5-Tk-DynaTabFrame
WRKSRC= ${WRKDIR}/namefix.pl
NO_BUILD= yes
USE_BZIP2= yes
USE_PERL5= yes
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete
post-patch:
@${REINPLACE_CMD} -e\
's|$$prog_dir/libs/|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/|'\
${WRKSRC}/${PORTNAME}.pl
do-install:
@cd ${WRKSRC}/libs/&&${COPYTREE_SHARE} . ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/
.include <bsd.port.mk>