aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-08 18:42:16 +0800
committerbapt <bapt@FreeBSD.org>2014-04-08 18:42:16 +0800
commitcc7334d3aa6e7beeab5d296df458a7f6b14bf245 (patch)
tree2be7e7350bbeb1d59ac0fbefb2dc9206dac267a4 /x11-toolkits
parent30d685f61082a141f25867fa672b4a7d148bcc11 (diff)
downloadfreebsd-ports-gnome-cc7334d3aa6e7beeab5d296df458a7f6b14bf245.tar.gz
freebsd-ports-gnome-cc7334d3aa6e7beeab5d296df458a7f6b14bf245.tar.zst
freebsd-ports-gnome-cc7334d3aa6e7beeab5d296df458a7f6b14bf245.zip
Support stage
Update to 0.65 Switch default to use wxGTK 3.0 Properly support clang
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/Makefile30
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/distinfo4
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/pkg-plist2
3 files changed, 11 insertions, 25 deletions
diff --git a/x11-toolkits/p5-Alien-wxWidgets/Makefile b/x11-toolkits/p5-Alien-wxWidgets/Makefile
index ea693f96c377..5a3a1ee34774 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/Makefile
+++ b/x11-toolkits/p5-Alien-wxWidgets/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Alien-wxWidgets
-PORTVERSION= 0.62
+PORTVERSION= 0.65
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -10,36 +10,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= pclin@FreeBSD.org
COMMENT= Perl5 module for building, finding and using wxWidgets binaries
-OPTIONS_DEFINE= UNICODE
-OPTIONS_DEFAULT= UNICODE
-UNICODE_DESC= Build with Unicode support
-
-USE_GCC= any
-USES= perl5
+USES= perl5 compiler:env
USE_PERL5= modbuild
-USE_WX= 2.6+
-WX_COMPS= wx contrib
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MUNICODE}
+USE_WX= 3.0
+WX_COMPS= wx
WX_UNICODE= yes
WX_UNI= uni_
CONFIGURE_ARGS+= --wxWidgets-build=0 --wxWidgets-unicode=1
-.else
-CONFIGURE_ARGS+= --wxWidgets-build=0 --wxWidgets-unicode=0
-.endif
-
-WX_UVER= ${WX_CONFIG:T} --version | ${TR} '.' '_'
-PLIST_SUB+= WX_UVER="$$(${WX_UVER})" WX_UNI=${WX_UNI}
-MAN3= Alien::wxWidgets.3 \
- Alien::wxWidgets::Utility.3
+WX_UVER!= ${MAKE} -C ${PORTSDIR}/x11-toolkits/wxgtk30 -V'$${PORTVERSION:C/\./_/g}'
+PLIST_SUB+= WX_UVER=${WX_UVER} WX_UNI=${WX_UNI}
post-patch:
@${REINPLACE_CMD} -e 's/wx-config/${WX_CONFIG:T}/' ${WRKSRC}/Build.PL
@${REINPLACE_CMD} -e "s/\'wx-config/\'${WX_CONFIG:T}/" -e "s/lc_r/lpthread/" \
${WRKSRC}/inc/My/Build/Any_wx_config.pm
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Alien-wxWidgets/distinfo b/x11-toolkits/p5-Alien-wxWidgets/distinfo
index 0b4b7490a0eb..ab3931d6134b 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/distinfo
+++ b/x11-toolkits/p5-Alien-wxWidgets/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Alien-wxWidgets-0.62.tar.gz) = feb655ea2a9f64c43f10b556648bc42d7e7224bbe753f657bd584b39d3e68aba
-SIZE (Alien-wxWidgets-0.62.tar.gz) = 666834
+SHA256 (Alien-wxWidgets-0.65.tar.gz) = b4772a319d78cd3c933e90d7bd2f766cd57216c5234abdfd2c43a10ba83c8f40
+SIZE (Alien-wxWidgets-0.65.tar.gz) = 669968
diff --git a/x11-toolkits/p5-Alien-wxWidgets/pkg-plist b/x11-toolkits/p5-Alien-wxWidgets/pkg-plist
index 1476bf2f110e..f51872195ddd 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/pkg-plist
+++ b/x11-toolkits/p5-Alien-wxWidgets/pkg-plist
@@ -1,3 +1,5 @@
+%%PERL5_MAN3%%/Alien::wxWidgets.3.gz
+%%PERL5_MAN3%%/Alien::wxWidgets::Utility.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Alien/wxWidgets/Utility.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Alien/wxWidgets/Config/gtk2_%%WX_UVER%%_%%WX_UNI%%gcc_3_4.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Alien/wxWidgets.pm