Lines 19-25
Link Here
|
19 |
LIB_DEPENDS= libboost_regex.so:devel/boost-libs |
19 |
LIB_DEPENDS= libboost_regex.so:devel/boost-libs |
20 |
RUN_DEPENDS= gnuplot:math/gnuplot |
20 |
RUN_DEPENDS= gnuplot:math/gnuplot |
21 |
|
21 |
|
22 |
USES= compiler:openmp gmake perl5 |
22 |
USES= gmake perl5 |
|
|
23 |
USE_GCC= yes |
23 |
USE_JAVA= yes |
24 |
USE_JAVA= yes |
24 |
USE_GITHUB= yes |
25 |
USE_GITHUB= yes |
25 |
|
26 |
|
Lines 27-32
Link Here
|
27 |
JAVA_VERSION= 1.8+ |
28 |
JAVA_VERSION= 1.8+ |
28 |
GH_ACCOUNT= marbl |
29 |
GH_ACCOUNT= marbl |
29 |
|
30 |
|
|
|
31 |
LDFLAGS_powerpc64+= -lgomp -lpthread |
30 |
WRKSRC_SUBDIR= src |
32 |
WRKSRC_SUBDIR= src |
31 |
# Makefile compiles directly into ${DESTDIR}${PREFIX} |
33 |
# Makefile compiles directly into ${DESTDIR}${PREFIX} |
32 |
MAKE_ENV+= DESTDIR=${WRKSRC} |
34 |
MAKE_ENV+= DESTDIR=${WRKSRC} |
Lines 36-42
Link Here
|
36 |
-e 's|-O4||g' \ |
38 |
-e 's|-O4||g' \ |
37 |
-e 's|-funroll-loops||g' \ |
39 |
-e 's|-funroll-loops||g' \ |
38 |
-e 's|-fexpensive-optimizations||g' \ |
40 |
-e 's|-fexpensive-optimizations||g' \ |
39 |
-e 's|amd64|${ARCH}|g' \ |
41 |
-e 's|amd64|${ARCH:S/powerpc64/powerpc/}|g' \ |
40 |
${WRKSRC}/Makefile |
42 |
${WRKSRC}/Makefile |
41 |
${REINPLACE_CMD} -e 's|\\$$bin/mhap-|${JAVAJARDIR}/mhap-|g' \ |
43 |
${REINPLACE_CMD} -e 's|\\$$bin/mhap-|${JAVAJARDIR}/mhap-|g' \ |
42 |
${WRKSRC}/pipelines/canu/OverlapMhap.pm |
44 |
${WRKSRC}/pipelines/canu/OverlapMhap.pm |
Lines 45-63
Link Here
|
45 |
|
47 |
|
46 |
# Upstream does not want to use lib/perl5/site_perl |
48 |
# Upstream does not want to use lib/perl5/site_perl |
47 |
post-build: |
49 |
post-build: |
48 |
@${MKDIR} ${WRKSRC}${PREFIX}/FreeBSD-${ARCH}/lib/perl5 |
50 |
@${MKDIR} ${WRKSRC}${PREFIX}/FreeBSD-${ARCH:S/powerpc64/powerpc/}/lib/perl5 |
49 |
${MV} ${WRKSRC}${PREFIX}/FreeBSD-${ARCH}/lib/site_perl \ |
51 |
${MV} ${WRKSRC}${PREFIX}/FreeBSD-${ARCH:S/powerpc64/powerpc/}/lib/site_perl \ |
50 |
${WRKSRC}${PREFIX}/FreeBSD-${ARCH}/lib/perl5 |
52 |
${WRKSRC}${PREFIX}/FreeBSD-${ARCH:S/powerpc64/powerpc/}/lib/perl5 |
51 |
|
53 |
|
52 |
do-install: |
54 |
do-install: |
53 |
@${MKDIR} ${STAGEDIR}${PREFIX} |
55 |
@${MKDIR} ${STAGEDIR}${PREFIX} |
54 |
(cd ${WRKSRC}${PREFIX}/FreeBSD-${ARCH} && \ |
56 |
(cd ${WRKSRC}${PREFIX}/FreeBSD-${ARCH:S/powerpc64/powerpc/} && \ |
55 |
${COPYTREE_BIN} bin ${STAGEDIR}${PREFIX}) |
57 |
${COPYTREE_BIN} bin ${STAGEDIR}${PREFIX}) |
56 |
# STRIP_CMD fails without this on 11.1 under poudriere |
58 |
# STRIP_CMD fails without this on 11.1 under poudriere |
57 |
@${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/* |
59 |
@${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/* |
58 |
${STRIP_CMD} \ |
60 |
${STRIP_CMD} \ |
59 |
`file ${STAGEDIR}${PREFIX}/bin/* | ${GREP} ELF | cut -d : -f 1` |
61 |
`file ${STAGEDIR}${PREFIX}/bin/* | ${GREP} ELF | cut -d : -f 1` |
60 |
(cd ${WRKSRC}${PREFIX}/FreeBSD-${ARCH} && \ |
62 |
(cd ${WRKSRC}${PREFIX}/FreeBSD-${ARCH:S/powerpc64/powerpc/} && \ |
61 |
${COPYTREE_SHARE} "lib share" ${STAGEDIR}${PREFIX}) |
63 |
${COPYTREE_SHARE} "lib share" ${STAGEDIR}${PREFIX}) |
62 |
|
64 |
|
63 |
.include <bsd.port.mk> |
65 |
.include <bsd.port.mk> |