|
Lines 7-22
Link Here
|
| 7 |
# |
7 |
# |
| 8 |
|
8 |
|
| 9 |
PORTNAME= gprename |
9 |
PORTNAME= gprename |
| 10 |
PORTVERSION= 2.4 |
10 |
PORTVERSION= 2.5 |
| 11 |
PORTEPOCH= 1 |
11 |
PORTEPOCH= 1 |
| 12 |
CATEGORIES= x11-fm |
12 |
CATEGORIES= x11-fm |
| 13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= SF |
| 14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
| 15 |
|
14 |
|
| 16 |
MAINTAINER= carpetsmoker@xs4all.nl |
15 |
MAINTAINER= carpetsmoker@xs4all.nl |
| 17 |
COMMENT= Perl script for renaming multiple files |
16 |
COMMENT= Perl script for renaming multiple files |
| 18 |
|
17 |
|
| 19 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
18 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ |
|
|
19 |
${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \ |
| 20 |
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \ |
| 21 |
p5-Locale-libintl>=0:${PORTSDIR}/devel/p5-Locale-libintl |
| 20 |
|
22 |
|
| 21 |
USE_BZIP2= yes |
23 |
USE_BZIP2= yes |
| 22 |
USE_PERL5_RUN= yes |
24 |
USE_PERL5_RUN= yes |
|
Lines 27-43
Link Here
|
| 27 |
MANCOMPRESSED= no |
29 |
MANCOMPRESSED= no |
| 28 |
|
30 |
|
| 29 |
post-patch: |
31 |
post-patch: |
| 30 |
@${REINPLACE_CMD} 's|/usr/|${PREFIX}/|' \ |
32 |
@${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/Makefile |
| 31 |
${WRKSRC}/bin/gprename |
|
|
| 32 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \ |
| 33 |
s|$$(CURDIR)|$$(.CURDIR)|; \ |
| 34 |
s|share/man|man|;' \ |
| 35 |
${WRKSRC}/Makefile |
| 36 |
|
33 |
|
| 37 |
post-install: |
34 |
post-install: |
| 38 |
.if !defined(NOPORTDOCS) |
35 |
.if !defined(NOPORTDOCS) |
| 39 |
@${MKDIR} ${DOCSDIR} |
36 |
@${MKDIR} ${DOCSDIR} |
| 40 |
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/COPYING ${DOCSDIR} |
37 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} |
| 41 |
.endif |
38 |
.endif |
| 42 |
|
39 |
|
| 43 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |