Date: Mon, 9 Apr 2012 22:35:50 +0200 (CEST) From: Radim Kolar <hsn@sendmail.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/166802: new port: swig Message-ID: <201204092035.q39KZo6v007212@fbsd8.localdomain> Resent-Message-ID: <201204092040.q39KeBM0072853@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166802 >Category: ports >Synopsis: new port: swig >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 09 20:40:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 8.2-RELEASE i386 >Organization: FILEZ.com >Environment: System: FreeBSD fbsd8.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #8: Tue Mar 1 14:49:07 CET 2011 root@fbsd8.localdomain:/usr/obj/usr/src/sys/VMWARE i386 >Description: >How-To-Repeat: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # swig/Makefile # swig/distinfo # swig/pkg-descr # echo x - swig/Makefile sed 's/^X//' >swig/Makefile << '868497947fce84991632ae94841b965e' X# New ports collection makefile for: SWIG X# Date created: 19 April 1996 X# Whom: jkh X# X# $FreeBSD: ports/devel/swig13/Makefile,v 1.93 2011/04/07 13:57:22 rafan Exp $ X# X XPORTNAME= swig XPORTVERSION= 2.0.4 XCATEGORIES= devel XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} X XMAINTAINER= hsn@sendmail.cz XCOMMENT= Simplified Wrapper and Interface Generator X XLICENSE= GPLv3 X XLIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre \ X boost_math_c99.4:${PORTSDIR}/devel/boost-libs X XPLIST_FILES= bin/swig${VER} bin/swig bin/ccache-swig XUSE_AUTOTOOLS= autoconf:env libtool X XMAN1= ccache-swig.1 X XVER= ${PORTVERSION:R} X X# Supported languages: allegrocl c# clisp chicken guile java lua ocaml Octave X# perl php pike python R ruby tcl X XWRKSRC= ${WRKDIR}/${DISTNAME} XCFLAGS+= -fPIC -DPIC XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= `${LOCALBASE}/bin/pcre-config --libs` XALL_TARGET= swig X XWANT_LUA= yes XWANT_LUA_VER= 5.0+ X X.include <bsd.port.pre.mk> X X.if ${HAVE_LUA:Mlua-5.*} != "" XUSE_LUA= yes XLUA_COMPS= lua:build XCONFIGURE_ARGS+=--with-lua=${LUA_BINDIR}/lua \ X --with-luaincl=${LUA_INCDIR} \ X --with-lualib=${LUA_LIBDIR} X.endif X XOCTAVE_VER_CMD= ${LOCALBASE}/bin/octave-config -v 2>/dev/null || ${TRUE} X Xpost-patch: X ${SETENV} OCTAVE_VER=$$(${OCTAVE_VER_CMD}) \ X ${REINPLACE_CMD} -e 's|$$RUBY |${RUBY} |; \ X s|^PHP4CONFIG=.*$$|PHP4CONFIG=php-config|; \ X s|OCTAVEDIR=".*"|OCTAVEDIR="${LOCALBASE}/include/octave-$${OCTAVE_VER}"|; \ X s|MZSCHEME --mute-banner|MZSCHEME|; \ X /^MZDYNOBJ/s|`$$|\| tail -n 1`|; \ X ' ${WRKSRC}/configure X ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ X ${WRKSRC}/Lib/lua/luarun.swg X Xpost-configure: X ${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile X Xpost-install: X ${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER} X.if !defined(NOPORTEXAMPLES) X ${MKDIR} ${EXAMPLESDIR}/${PORTVERSION} X cd ${WRKSRC}/Examples && ${FIND} . -type d \ X -exec ${INSTALL} -d ${EXAMPLESDIR}/${PORTVERSION}/{} \; X cd ${WRKSRC}/Examples && ${FIND} . -type f \ X -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/${PORTVERSION}/{} \; X.endif X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR}/${PORTVERSION} X cd ${WRKSRC}/Doc && ${FIND} . -type d \ X -exec ${INSTALL} -d ${DOCSDIR}/${PORTVERSION}/{} \; X cd ${WRKSRC}/Doc && ${FIND} . -type f \ X -exec ${INSTALL_DATA} {} ${DOCSDIR}/${PORTVERSION}/{} \; X.endif X.for basedir in share/swig share/examples/swig share/doc/swig X cd ${PREFIX}/${basedir}/${PORTVERSION} && ${FIND} . -type f -exec ${ECHO_CMD} "${basedir}/${PORTVERSION}/{}" \; >> ${TMPPLIST} X.endfor X.for basedir in share/swig share/examples/swig share/doc/swig X cd ${PREFIX}/${basedir}/${PORTVERSION} && ${FIND} . -mindepth 1 -type d -d -exec ${ECHO_CMD} "@dirrm ${basedir}/${PORTVERSION}/{}" \; >> ${TMPPLIST} X.endfor X X.include <bsd.port.post.mk> 868497947fce84991632ae94841b965e echo x - swig/distinfo sed 's/^X//' >swig/distinfo << '388af90c1463a8c3e0d5b53b5d4e13b8' XSHA256 (swig-2.0.4.tar.gz) = 763a117730d26f8e5ed67f5718c6c0761fbb8461680fc20269db8c0839e1ec8a XSIZE (swig-2.0.4.tar.gz) = 5148567 388af90c1463a8c3e0d5b53b5d4e13b8 echo x - swig/pkg-descr sed 's/^X//' >swig/pkg-descr << '19d3b11a0be8a59919379ada2f9c0758' XSWIG is a tool for automatically generating the wrapper code needed Xto link collections of functions written in C/C++ with interpreted Xscripting languages. Currently, SWIG supports : X X - Allegro CL X - C# X - CFFI X - CLisp X - Chicken X - D X - Go X - Guile X - Java X - Lua X - Modula-3 X - MzScheme X - OCAML X - Octave X - Perl5 X - PHP X - Python X - Ruby X - Tcl X XUsing SWIG, it is possible to greatly simplify interface development Xand to put interesting interfaces on existing applications with Xlittle effort. X XWWW: http://www.swig.org/ 19d3b11a0be8a59919379ada2f9c0758 exit >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204092035.q39KZo6v007212>