View | Details | Raw Unified | Return to bug 212196
Collapse All | Expand All

(-)Makefile (-6 / +6 lines)
Lines 10-16 Link Here
10
MAINTAINER=	sunpoet@FreeBSD.org
10
MAINTAINER=	sunpoet@FreeBSD.org
11
COMMENT=	Generate wrappers for calling C/C++ code from other languages
11
COMMENT=	Generate wrappers for calling C/C++ code from other languages
12
12
13
LICENSE=	GPLv3
13
LICENSE=	GPLv3+
14
LICENSE_FILE=	${WRKSRC}/LICENSE-GPL
14
15
15
LIB_DEPENDS=	libpcre.so:devel/pcre
16
LIB_DEPENDS=	libpcre.so:devel/pcre
16
17
Lines 42-59 Link Here
42
		-e 's|MZSCHEME --mute-banner|MZSCHEME|' \
43
		-e 's|MZSCHEME --mute-banner|MZSCHEME|' \
43
		-e '/^MZDYNOBJ/s|`$$|\| tail -n 1`|' \
44
		-e '/^MZDYNOBJ/s|`$$|\| tail -n 1`|' \
44
			${WRKSRC}/configure
45
			${WRKSRC}/configure
45
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/Lib/lua/luarun.swg
46
46
47
post-configure:
47
post-configure:
48
	${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile
48
	@${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile
49
49
50
post-install:
50
post-install:
51
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ccache-swig${PORTVERSION:R} ${STAGEDIR}${PREFIX}/bin/swig${PORTVERSION:R}
51
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ccache-swig${PORTVERSION:R} ${STAGEDIR}${PREFIX}/bin/swig${PORTVERSION:R}
52
52
53
post-install-DOCS-on:
53
post-install-DOCS-on:
54
	cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${PORTVERSION}
54
	@cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${PORTVERSION}
55
55
56
post-install-EXAMPLES-on:
56
post-install-EXAMPLES-on:
57
	cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/${PORTVERSION}
57
	@cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/${PORTVERSION}
58
58
59
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)files/patch-Lib_typemaps_fragments.swg (+10 lines)
Line 0 Link Here
1
--- Lib/typemaps/fragments.swg.orig	2016-09-10 23:27:20 UTC
2
+++ Lib/typemaps/fragments.swg
3
@@ -172,6 +172,7 @@
4
 # if defined(isfinite)
5
 #  define SWIG_isfinite(X) (isfinite(X))
6
 # elif defined __cplusplus && __cplusplus >= 201103L
7
+#  include <cmath>
8
 #  define SWIG_isfinite(X) (std::isfinite(X))
9
 # elif defined(_MSC_VER)
10
 #  define SWIG_isfinite(X) (_finite(X))

Return to bug 212196