865119d2fb
PR: ports/98025 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
# New ports collection makefile for: gprename
|
|
# Date created: 2004-03-15
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gprename
|
|
PORTVERSION= 1.7
|
|
PORTEPOCH= 1
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl script for renaming multiple files
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk:${PORTSDIR}/x11-toolkits/p5-Gtk
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_PERL5_RUN= yes
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= gprename
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/gprename \
|
|
%%DATADIR%%/bin/gprename.pl \
|
|
%%DATADIR%%/bin/langs.pl \
|
|
%%DATADIR%%/languages/lang.en \
|
|
%%DATADIR%%/languages/lang.es.ISO-8859-1 \
|
|
%%DATADIR%%/languages/lang.es.UTF-8 \
|
|
%%DATADIR%%/languages/lang.fr.ISO-8859-1 \
|
|
%%DATADIR%%/languages/lang.fr.UTF-8 \
|
|
%%DATADIR%%/languages/lang.pl.ISO-8859-2 \
|
|
%%DATADIR%%/languages/lang.pl.UTF-8 \
|
|
%%DATADIR%%/languages/lang.zh_TW.Big5 \
|
|
%%DATADIR%%/languages/lang.zh_TW.UTF-8 \
|
|
%%DATADIR%%/pixmaps/gprename_icon64.xpm
|
|
PLIST_DIRS= %%DATADIR%%/pixmaps \
|
|
%%DATADIR%%/languages \
|
|
%%DATADIR%%/bin \
|
|
%%DATADIR%%
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/gprename ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${DATADIR}/bin
|
|
@${MKDIR} ${DATADIR}/languages
|
|
${INSTALL_DATA} ${WRKSRC}/languages/lang.* ${DATADIR}/languages
|
|
@${MKDIR} ${DATADIR}/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${DATADIR}/pixmaps
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|