1 # $NetBSD: Makefile,v 1.29 2010/04/12 13:57:59 taca Exp $
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
9 # 1.3.37 has a bug where .py files are written to the directory of the
10 # .i file instead of where the output is supposed to go, and this
11 # breaks gnuradio. Please try to contact gdt@netbsd.org before
12 # updating to 1.3.37. See message on discuss-gnuradio:
13 # Message-Id: <FA0E4567-C660-4C30-B604-2FA000330874@alum.mit.edu>
15 # x11/ruby-wxruby-2.0.1 requires 1.3.32 for Ruby 1.8 and 1.3.37 for
16 # Ruby 1.9. And SWIG 1.3.39 introduced some incompatibility with
20 MAINTAINER= pkgsrc-users@NetBSD.org
21 HOMEPAGE= http://www.swig.org/
22 COMMENT= Simplified Wrapper and Interface Generator
25 PKG_DESTDIR_SUPPORT= user-destdir
27 CONFLICTS= swig-build-[0-9]*
29 CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3
37 INSTALLATION_DIRS+= share/doc/swig share/examples/swig
39 CHECK_INTERPRETER_SKIP+= share/examples/swig/*
42 cd ${WRKSRC}/Doc/Manual && \
43 ${INSTALL_DATA} SWIGDocumentation.html SWIGDocumentation.pdf \
44 *.png ${DESTDIR}${PREFIX}/share/doc/swig
45 cd ${WRKSRC}/Examples && \
48 -s ',.*Makefile\.in$$,,' \
49 -s ',^test-suite.*,,' \
50 . ${DESTDIR}${PREFIX}/share/examples/swig
52 .include "../../mk/bsd.pkg.mk"