blob: 5c1c1bbbc4ba9c88ab7c925d2882932e4b6ff3b8 (
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
|
# New ports collection makefile for: gprename
# Date created: 2004-03-15
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= gprename
PORTVERSION= 1.21
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= trevor@FreeBSD.org
COMMENT= Perl script for renaming multiple files
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk:${PORTSDIR}/x11-toolkits/p5-Gtk
BROKEN= Incomplete pkg-plist
NO_BUILD= yes
PLIST_DIRS= share/gprename/languages share/gprename/pixmaps share/gprename
PLIST_FILES= bin/gprename share/gprename/pixmaps/gprename_icon64.xpm
USE_BZIP2= yes
USE_PERL5_RUN= yes
USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
.for ii in en es.ISO-8859-1 es.UTF-8 fr.ISO-8859-1 fr.UTF-8 zh_TW.Big5 \
zh_TW.UTF-8
PLIST_FILES+= share/gprename/languages/lang.${ii}
.endfor
pre-install:
.if !defined(NOPORTDOCS)
PLIST_DIRS+= share/doc/gprename
PLIST_FILES+= share/doc/gprename/README
.endif
do-install:
${MKDIR} ${DATADIR}
${CP} -pPR ${WRKSRC}/languages ${WRKSRC}/pixmaps ${DATADIR}
.for ii in gprename langs
${INSTALL_SCRIPT} ${WRKSRC}/${ii}.pl ${DATADIR}
.endfor
${SED} 's:PREFIX:${PREFIX}:g' < ${FILESDIR}/gprename \
> ${WRKDIR}/gprename
${INSTALL_SCRIPT} ${WRKDIR}/gprename ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|