pkgsrc/devel/swig/Makefile

52 lines
1.5 KiB
Makefile
Raw Normal View History

2013-08-04 11:59:24 +02:00
# $NetBSD: Makefile,v 1.36 2013/08/04 09:59:24 jaapb Exp $
1999-01-14 06:00:25 +01:00
DISTNAME= swig-1.3.36
2013-07-07 01:11:51 +02:00
PKGREVISION= 4
1999-01-14 06:00:25 +01:00
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
1999-01-14 06:00:25 +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>
2012-10-30 23:34:20 +01:00
# As of 2012-10, gnuradio is known to work with swig 2.
#
# x11/ruby-wxruby-2.0.1 requires 1.3.32 for Ruby 1.8 and 1.3.37 for
# Ruby 1.9. And SWIG 1.3.39 introduced some incompatibility with
# wxRuby, sigh.
#
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/
2012-11-04 00:44:43 +01:00
COMMENT= Simplified Wrapper and Interface Generator (version 1)
LICENSE= 2-clause-bsd
1999-01-14 06:00:25 +01:00
CONFLICTS= swig-build-[0-9]*
1999-01-14 06:00:25 +01:00
CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3
BUILD_TARGET= swig
2002-09-24 12:30:35 +02:00
2013-08-04 11:59:24 +02:00
USE_TOOLS+= gmake pax
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
2002-09-24 12:30:35 +02:00
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
1999-01-14 06:00:25 +01:00
.include "../../mk/bsd.pkg.mk"