pkgsrc/devel/swig/Makefile
taca ea5597e6f9 Update swig to 1.3.38. It required by x11/ruby-wxruby with ruby193.
* Remove descriptino about gnuradio incompatibility since it related
  packages are already using swig2.

Version: 1.3.38 (31 January 2009)

Tagline: SWIG is a compiler that integrates C and C++ with languages
         including Perl, Python, Tcl, Ruby, PHP, Java, Ocaml, Lua,
         Scheme (Guile, MzScheme, CHICKEN), Pike, C#, Modula-3,
         Common Lisp (CLISP, Allegro CL, CFFI, UFFI), Octave and R.

SWIG reads annotated C/C++ header files and creates wrapper code (glue
code) in order to make the corresponding C/C++ libraries available to
the listed languages, or to extend C/C++ programs with a scripting
language.
2015-03-10 16:24:57 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2015/03/10 16:24:57 taca Exp $
DISTNAME= swig-1.3.38
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
# x11/ruby-wxruby-2.0.1 requires 1.3.37 for Ruby 1.9. But SWIG 1.3.39
# introduced some incompatibility with wxRuby, sigh.
#
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.swig.org/
COMMENT= Simplified Wrapper and Interface Generator (version 1)
LICENSE= 2-clause-bsd
CONFLICTS= swig-build-[0-9]*
CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3
BUILD_TARGET= swig
USE_TOOLS+= gmake pax
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
INSTALLATION_DIRS+= share/doc/swig share/examples/swig
CHECK_INTERPRETER_SKIP+= share/examples/swig/*
post-install:
cd ${WRKSRC}/Doc/Manual && \
${INSTALL_DATA} SWIGDocumentation.html SWIGDocumentation.pdf \
*.png ${DESTDIR}${PREFIX}/share/doc/swig
cd ${WRKSRC}/Examples && \
pax -wr \
-s ',.*CVS.*,,' \
-s ',.*Makefile\.in$$,,' \
-s ',^test-suite.*,,' \
. ${DESTDIR}${PREFIX}/share/examples/swig
.include "../../mk/bsd.pkg.mk"