Lines 14-36
Link Here
|
14 |
LICENSE= ART10 GPLv1 |
14 |
LICENSE= ART10 GPLv1 |
15 |
LICENSE_COMB= dual |
15 |
LICENSE_COMB= dual |
16 |
|
16 |
|
17 |
BROKEN_FreeBSD_9= does not build |
17 |
BUILD_DEPENDS= p5-ExtUtils-XSpp>=0.16.03:${PORTSDIR}/devel/p5-ExtUtils-XSpp \ |
18 |
|
18 |
p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets |
19 |
BUILD_DEPENDS= p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets \ |
|
|
20 |
p5-ExtUtils-XSpp>=0.16.03:${PORTSDIR}/devel/p5-ExtUtils-XSpp |
21 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
19 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
22 |
|
20 |
|
23 |
USES= perl5 compiler:c++11-lib |
21 |
USES= compiler:c++11-lib perl5 |
|
|
22 |
USE_CXXSTD= c++11 |
24 |
USE_PERL5= configure |
23 |
USE_PERL5= configure |
25 |
USE_WX= 3.0 |
24 |
USE_WX= 3.0 |
26 |
USE_CXXSTD= c++11 |
25 |
CONFIGURE_ENV= CXX="${CXX}" |
27 |
WX_COMPS= wx |
26 |
|
28 |
CC= ${CXX} |
|
|
29 |
CFLAGS+= -pthread -Wno-write-strings |
27 |
CFLAGS+= -pthread -Wno-write-strings |
30 |
CONFIGURE_ENV= CXX=${CXX} |
|
|
31 |
|
28 |
|
32 |
post-configure: |
29 |
post-configure: |
33 |
@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \ |
30 |
@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \ |
34 |
${REINPLACE_CMD} -e 's|^CCFLAGS = .*$$|CCFLAGS = ${CXXFLAGS}|' |
31 |
${REINPLACE_CMD} -e \ |
|
|
32 |
's|$$(CC)|$$(CXX)|g ; \ |
33 |
s|$$(CCFLAGS)|$$(CXXFLAGS)|g' |
34 |
|
35 |
pre-build: |
36 |
@(cd ${WRKSRC} && ${DO_MAKE_BUILD} generated) |
37 |
|
38 |
post-install: |
39 |
@${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name "*.so" -type f \ |
40 |
| ${XARGS} ${STRIP_CMD} |
35 |
|
41 |
|
36 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |