Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= Net-Dict |
8 |
PORTNAME= Net-Dict |
9 |
PORTVERSION= 2.06 |
9 |
PORTVERSION= 2.07 |
10 |
CATEGORIES= net perl5 |
10 |
CATEGORIES= net perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= Net |
12 |
MASTER_SITE_SUBDIR= Net |
Lines 15-33
Link Here
|
15 |
MAINTAINER= fuyuki@hadaly.org |
15 |
MAINTAINER= fuyuki@hadaly.org |
16 |
COMMENT= A simple client API for the DICT protocol |
16 |
COMMENT= A simple client API for the DICT protocol |
17 |
|
17 |
|
18 |
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net |
18 |
BUILD_DEPENDS= ${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net |
19 |
# if you want to run dict(1): |
19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
20 |
#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std |
|
|
21 |
# if you want to run tkdict(1) too: |
22 |
#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk |
23 |
|
20 |
|
24 |
PERL_CONFIGURE= yes |
21 |
PERL_CONFIGURE= yes |
25 |
|
|
|
26 |
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} |
27 |
MAN1= dict.1 tkdict.1 |
28 |
MAN3= Net::Dict.3 |
22 |
MAN3= Net::Dict.3 |
29 |
|
23 |
|
30 |
post-patch: |
24 |
post-patch: |
31 |
${PERL} -pi -e 's/^&configure.*$$//' ${WRKSRC}/Makefile.PL |
25 |
${PERL} -pi -e '$$_="" if /(&configure|EXE_FILES)/' \ |
|
|
26 |
${WRKSRC}/Makefile.PL |
32 |
|
27 |
|
33 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |