Lines 54-65
Link Here
|
54 |
GH_ACCOUNT= BVLC |
54 |
GH_ACCOUNT= BVLC |
55 |
USE_GITHUB= yes |
55 |
USE_GITHUB= yes |
56 |
|
56 |
|
|
|
57 |
.include <bsd.port.pre.mk> |
58 |
|
59 |
.if ${CHOSEN_COMPILER_TYPE} == clang |
60 |
TRUE_CXX= clang++ |
61 |
.else |
62 |
TRUE_CXX= g++${GCC_DEFAULT} |
63 |
.endif |
64 |
|
57 |
post-extract: |
65 |
post-extract: |
58 |
@${CP} -v ${.CURDIR}/files/Makefile.config ${WRKSRC}/ |
66 |
@${CP} -v ${.CURDIR}/files/Makefile.config ${WRKSRC}/ |
59 |
|
67 |
|
60 |
post-patch: |
68 |
post-patch: |
61 |
@${REINPLACE_CMD} \ |
69 |
@${REINPLACE_CMD} \ |
62 |
-e "s|%%CXX%%|clang++|g" \ |
70 |
-e "s|%%CXX%%|${TRUE_CXX}|g" \ |
63 |
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ |
71 |
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ |
64 |
-e "s|%%DATADIR%%|${DATADIR}|g" \ |
72 |
-e "s|%%DATADIR%%|${DATADIR}|g" \ |
65 |
-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \ |
73 |
-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \ |
Lines 75-78
Link Here
|
75 |
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* ${STAGEDIR}/${PREFIX}/lib/*.so.* \ |
83 |
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* ${STAGEDIR}/${PREFIX}/lib/*.so.* \ |
76 |
${STAGEDIR}/${PYTHON_SITELIBDIR}/${PORTNAME}/*.so |
84 |
${STAGEDIR}/${PYTHON_SITELIBDIR}/${PORTNAME}/*.so |
77 |
|
85 |
|
78 |
.include <bsd.port.mk> |
86 |
.include <bsd.port.post.mk> |