summaryrefslogtreecommitdiff
path: root/devel/swig/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-24 22:20:27 +0000
committerrillig <rillig@pkgsrc.org>2006-01-24 22:20:27 +0000
commite5b611525f78fd3b6d5e71380f66c5c10b3d0cd9 (patch)
tree4669bb5ab6922b44e8808c9014b551928094aed7 /devel/swig/Makefile
parent528d9260011e4825bfdf248077fc91b7223d072f (diff)
downloadpkgsrc-e5b611525f78fd3b6d5e71380f66c5c10b3d0cd9.tar.gz
SWIG comes with plenty of documentation, which is not installed by default.
Now it is installed.
Diffstat (limited to 'devel/swig/Makefile')
-rw-r--r--devel/swig/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/devel/swig/Makefile b/devel/swig/Makefile
index cdf67663e9c..05874acbc87 100644
--- a/devel/swig/Makefile
+++ b/devel/swig/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2006/01/12 17:35:15 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2006/01/24 22:20:27 rillig Exp $
DISTNAME= swig-1.3.24
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
@@ -19,4 +20,19 @@ GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
+INSTALLATION_DIRS+= share/doc/swig share/examples/swig
+
+CHECK_INTERPRETER_SKIP+= share/examples/swig/guile/matrix/matrix.scm
+
+post-install:
+ cd ${WRKSRC:Q}/Doc/Manual && \
+ ktrace ${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"