Lines 2-24
Link Here
|
2 |
# $FreeBSD: ports/x11-toolkits/p5-Alien-wxWidgets/Makefile,v 1.20 2012/11/21 23:04:29 svnexp Exp $ |
2 |
# $FreeBSD: ports/x11-toolkits/p5-Alien-wxWidgets/Makefile,v 1.20 2012/11/21 23:04:29 svnexp Exp $ |
3 |
|
3 |
|
4 |
PORTNAME= Alien-wxWidgets |
4 |
PORTNAME= Alien-wxWidgets |
5 |
PORTVERSION= 0.51 |
5 |
PORTVERSION= 0.62 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= x11-toolkits perl5 |
6 |
CATEGORIES= x11-toolkits perl5 |
8 |
MASTER_SITES= CPAN |
7 |
MASTER_SITES= CPAN |
9 |
PKGNAMEPREFIX= p5- |
8 |
PKGNAMEPREFIX= p5- |
10 |
|
9 |
|
11 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= linpc@cs.nctu.edu.tw |
12 |
COMMENT= Perl5 module for building, finding and using wxWidgets binaries |
11 |
COMMENT= Perl5 module for building, finding and using wxWidgets binaries |
13 |
|
12 |
|
14 |
BUILD_DEPENDS= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder |
|
|
15 |
|
16 |
OPTIONS_DEFINE= UNICODE |
13 |
OPTIONS_DEFINE= UNICODE |
17 |
OPTIONS_DEFAULT= UNICODE |
14 |
OPTIONS_DEFAULT= UNICODE |
18 |
UNICODE_DESC= Build with Unicode support |
15 |
UNICODE_DESC= Build with Unicode support |
19 |
|
16 |
|
20 |
USE_GCC= any |
17 |
USE_GCC= any |
21 |
USE_WX= 2.6+ |
18 |
USE_WX= 2.6+ |
22 |
WX_COMPS= wx contrib |
19 |
WX_COMPS= wx contrib |
23 |
PERL_MODBUILD= yes |
20 |
PERL_MODBUILD= yes |
24 |
|
21 |
|
Lines 26-31
Link Here
|
26 |
|
23 |
|
27 |
.if ${PERL_LEVEL} < 500809 |
24 |
.if ${PERL_LEVEL} < 500809 |
28 |
BUILD_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable |
25 |
BUILD_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable |
|
|
26 |
.elsif ${PERL_LEVEL} < 501000 |
27 |
BUILD_DEPENDS+= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build |
28 |
.endif |
29 |
|
30 |
.if ${PERL_LEVEL} < 501001 |
31 |
BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder |
29 |
.endif |
32 |
.endif |
30 |
|
33 |
|
31 |
.if ${PORT_OPTIONS:MUNICODE} |
34 |
.if ${PORT_OPTIONS:MUNICODE} |
Lines 39-46
Link Here
|
39 |
WX_UVER= ${WX_CONFIG:T} --version | ${TR} '.' '_' |
42 |
WX_UVER= ${WX_CONFIG:T} --version | ${TR} '.' '_' |
40 |
PLIST_SUB+= WX_UVER="$$(${WX_UVER})" WX_UNI=${WX_UNI} |
43 |
PLIST_SUB+= WX_UVER="$$(${WX_UVER})" WX_UNI=${WX_UNI} |
41 |
|
44 |
|
42 |
MAN3= Alien::wxWidgets.3 \ |
45 |
MAN3= Alien::wxWidgets.3 \ |
43 |
Alien::wxWidgets::Utility.3 |
46 |
Alien::wxWidgets::Utility.3 |
44 |
|
47 |
|
45 |
post-patch: |
48 |
post-patch: |
46 |
@${REINPLACE_CMD} -e 's/wx-config/${WX_CONFIG:T}/' ${WRKSRC}/Build.PL |
49 |
@${REINPLACE_CMD} -e 's/wx-config/${WX_CONFIG:T}/' ${WRKSRC}/Build.PL |