diff options
-rw-r--r-- | x11-toolkits/p5-Alien-wxWidgets/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/p5-Alien-wxWidgets/pkg-plist | 1 |
2 files changed, 5 insertions, 5 deletions
diff --git a/x11-toolkits/p5-Alien-wxWidgets/Makefile b/x11-toolkits/p5-Alien-wxWidgets/Makefile index d3c79bcd9f2f..d1a1b4ae8263 100644 --- a/x11-toolkits/p5-Alien-wxWidgets/Makefile +++ b/x11-toolkits/p5-Alien-wxWidgets/Makefile @@ -16,15 +16,16 @@ USE_PERL5= modbuild USE_WX= 3.0 WX_COMPS= wx WX_UNICODE= yes -WX_UNI= uni_ CONFIGURE_ARGS+= --wxWidgets-build=0 --wxWidgets-unicode=1 -WX_UVER!= ${MAKE} -C ${.CURDIR}/../../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 +post-install: + # file name is function of wx version, add it dynamically + @(cd ${STAGEDIR}${PREFIX}; ${FIND} * -type f -name gtk2_\* -print \ + >> ${TMPPLIST}) + .include <bsd.port.mk> diff --git a/x11-toolkits/p5-Alien-wxWidgets/pkg-plist b/x11-toolkits/p5-Alien-wxWidgets/pkg-plist index f51872195ddd..ff3c47547ed0 100644 --- a/x11-toolkits/p5-Alien-wxWidgets/pkg-plist +++ b/x11-toolkits/p5-Alien-wxWidgets/pkg-plist @@ -1,7 +1,6 @@ %%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 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Alien/wxWidgets/Config @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Alien/wxWidgets |