2009-01-23 14:00:11 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 2009/01/23 13:00:11 gdt Exp $
|
1999-01-14 06:00:25 +01:00
|
|
|
|
Updated swig to 1.3.31:
SWIG-1.3.31 summary:
- Python modern classes regression fix
SWIG-1.3.30 summary:
- Python-2.5 support
- New language module: R
- Director support added for C#
- Numerous director fixes and improvements
- Improved mingw/msys support
- Better constants support in Guile and chicken modules
- Support for generating PHP5 class wrappers
- Important Java premature garbage collection fix
- Minor improvements/fixes in cffi, php, allegrocl,
perl, chicken, lua, ruby, ocaml, python, java, c# and guile
- Many many other bug fixes
2006-12-02 11:15:46 +01:00
|
|
|
DISTNAME= swig-1.3.31
|
2007-01-21 17:39:57 +01:00
|
|
|
PKGREVISION= 1
|
1999-01-14 06:00:25 +01:00
|
|
|
CATEGORIES= devel
|
2006-01-12 18:35:15 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
|
1999-01-14 06:00:25 +01:00
|
|
|
|
2009-01-23 14:00:11 +01:00
|
|
|
# 1.3.37 has a bug where .py files are written to the directory of the
|
|
|
|
# .i file instead of where the output is supposed to go, and this
|
|
|
|
# breaks gnuradio. Please try to contact gdt@netbsd.org before
|
|
|
|
# updating to 1.3.37. See message on discuss-gnuradio:
|
|
|
|
# Message-Id: <FA0E4567-C660-4C30-B604-2FA000330874@alum.mit.edu>
|
|
|
|
|
|
|
|
|
2008-08-18 02:55:48 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-01-14 06:00:25 +01:00
|
|
|
HOMEPAGE= http://www.swig.org/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Simplified Wrapper and Interface Generator
|
1999-01-14 06:00:25 +01:00
|
|
|
|
2007-07-10 21:51:22 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
CONFLICTS= swig-build-[0-9]*
|
1999-01-14 06:00:25 +01:00
|
|
|
|
2006-01-12 18:35:15 +01:00
|
|
|
CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3
|
|
|
|
BUILD_TARGET= swig
|
2002-09-24 12:30:35 +02:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= gmake pax
|
2006-01-12 18:35:15 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= YES
|
2002-09-24 12:30:35 +02:00
|
|
|
|
2006-01-24 23:20:27 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/swig share/examples/swig
|
|
|
|
|
2006-06-18 12:45:06 +02:00
|
|
|
CHECK_INTERPRETER_SKIP+= share/examples/swig/*
|
2006-01-24 23:20:27 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC:Q}/Doc/Manual && \
|
2006-02-26 23:37:22 +01:00
|
|
|
${INSTALL_DATA} SWIGDocumentation.html SWIGDocumentation.pdf \
|
2007-07-10 21:51:22 +02:00
|
|
|
*.png ${DESTDIR:Q}${PREFIX:Q}/share/doc/swig
|
2006-01-24 23:20:27 +01:00
|
|
|
cd ${WRKSRC:Q}/Examples && \
|
2008-05-26 04:13:14 +02:00
|
|
|
pax -wr \
|
2006-01-24 23:20:27 +01:00
|
|
|
-s ',.*CVS.*,,' \
|
|
|
|
-s ',.*Makefile\.in$$,,' \
|
|
|
|
-s ',^test-suite.*,,' \
|
2007-07-10 21:51:22 +02:00
|
|
|
. ${DESTDIR:Q}${PREFIX:Q}/share/examples/swig
|
2006-01-24 23:20:27 +01:00
|
|
|
|
1999-01-14 06:00:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|