# $NetBSD: Makefile,v 1.21 2006/12/02 10:15:46 wulf Exp $ DISTNAME= swig-1.3.31 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} MAINTAINER= epg@NetBSD.org HOMEPAGE= http://www.swig.org/ COMMENT= Simplified Wrapper and Interface Generator CONFLICTS= swig-build-[0-9]* CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3 BUILD_TARGET= swig USE_TOOLS+= gmake 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:Q}/Doc/Manual && \ ${INSTALL_DATA} SWIGDocumentation.html SWIGDocumentation.pdf \ *.png ${PREFIX:Q}/share/doc/swig cd ${WRKSRC:Q}/Examples && \ ${PAX} -wr \ -s ',.*CVS.*,,' \ -s ',.*Makefile\.in$$,,' \ -s ',^test-suite.*,,' \ . ${PREFIX:Q}/share/examples/swig .include "../../mk/bsd.pkg.mk"