blob: fdc2b0e22b380a4701e7b8bd4b9aaecaaa4b5da2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: gprename
# Date created: 2004-03-15
# Whom: trevor
#
# $Carpetsmoker: ports/gprename/Makefile,v 1.3 2007/04/23 18:35:06 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= gprename
PORTVERSION= 2.2
PORTEPOCH= 1
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Perl script for renaming multiple files
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
USE_BZIP2= yes
USE_PERL5_RUN= yes
NO_BUILD= yes
SUB_FILES= gprename
PORTDOCS= README
PLIST_FILES= bin/gprename \
%%DATADIR%%/COPYING \
%%DATADIR%%/bin/gprename.pl \
%%DATADIR%%/languages/lang.dt \
%%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.pt-br.ISO-8859-1 \
%%DATADIR%%/languages/lang.pt-br.UTF-8 \
%%DATADIR%%/languages/langs.pl \
%%DATADIR%%/icon/gprename_icon.png \
%%DATADIR%%/icon/gprename_nautilus-action.png
PLIST_DIRS= %%DATADIR%%/icon \
%%DATADIR%%/languages \
%%DATADIR%%/bin \
%%DATADIR%%
.include <bsd.port.pre.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gprename ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DATADIR}
@${MKDIR} ${DATADIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/gprename.pl ${DATADIR}/bin
@${MKDIR} ${DATADIR}/languages
${INSTALL_DATA} ${WRKSRC}/languages/lang.* ${DATADIR}/languages
${INSTALL_DATA} ${WRKSRC}/languages/langs.pl ${DATADIR}/languages
@${MKDIR} ${DATADIR}/icon
${INSTALL_DATA} ${WRKSRC}/icon/* ${DATADIR}/icon/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|