Lines 6-37
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gotmail |
8 |
PORTNAME= gotmail |
9 |
PORTVERSION= 0.6.6 |
9 |
PORTVERSION= 0.7.1 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= mail perl5 |
10 |
CATEGORIES= mail perl5 |
12 |
MASTER_SITES= http://www.hawkins.emu.id.au/gotmail/ |
11 |
MASTER_SITES= http://ssl.usu.edu/paul/gotmail/ |
13 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
14 |
|
13 |
|
15 |
MAINTAINER= ports@geeksrus.net |
14 |
MAINTAINER= ports@geeksrus.net |
16 |
|
15 |
|
17 |
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
16 |
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
18 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI |
17 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \ |
|
|
18 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/libnet.cfg:${PORTSDIR}/net/p5-Net |
19 |
|
19 |
|
20 |
USE_PERL5= yes |
20 |
MAN1= ${PORTNAME}.1 |
21 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
22 |
|
22 |
USE_PERL5= yes |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
24 |
|
24 |
|
25 |
pre-patch: |
25 |
pre-patch: |
26 |
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}.pl |
26 |
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME} |
|
|
27 |
${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME} |
27 |
|
28 |
|
28 |
do-install: |
29 |
do-install: |
29 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} |
30 |
.for i in ${MAN1} |
|
|
31 |
${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1 |
32 |
.endfor |
33 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
30 |
|
34 |
|
31 |
post-install: |
35 |
post-install: |
32 |
.if !defined(NOPORTDOCS) |
36 |
.if !defined(NOPORTDOCS) |
33 |
${MKDIR} ${PREFIX}/share/doc/${PORTNAME} |
37 |
${MKDIR} ${PREFIX}/share/doc/${PORTNAME} |
34 |
.for i in COPYING ChangeLog README TODO sample.gotmailrc |
38 |
.for i in ChangeLog README sample.gotmailrc |
35 |
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME} |
39 |
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME} |
36 |
.endfor |
40 |
.endfor |
37 |
.endif |
41 |
.endif |