| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.13 2020/05/10 18:31:20 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2020/05/18 05:09:50 rillig Exp $ |
2 | | | 2 | |
3 | DISTNAME= swig-2.0.12 | | 3 | DISTNAME= swig-2.0.12 |
4 | PKGNAME= ${DISTNAME:S/swig-/swig2-/} | | 4 | PKGNAME= ${DISTNAME:S/swig-/swig2-/} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} |
8 | | | 8 | |
9 | MAINTAINER= bacon@NetBSD.org | | 9 | MAINTAINER= bacon@NetBSD.org |
10 | HOMEPAGE= http://www.swig.org/ | | 10 | HOMEPAGE= http://www.swig.org/ |
11 | COMMENT= Simplified Wrapper and Interface Generator (version 2) | | 11 | COMMENT= Simplified Wrapper and Interface Generator (version 2) |
12 | LICENSE= 2-clause-bsd | | 12 | LICENSE= 2-clause-bsd |
13 | | | 13 | |
14 | CONFLICTS= swig-build-[0-9]* | | 14 | CONFLICTS= swig-build-[0-9]* |
| @@ -29,26 +29,27 @@ CONFLICTS= swig-build-[0-9]* | | | @@ -29,26 +29,27 @@ CONFLICTS= swig-build-[0-9]* |
29 | # FindSWIG, installed by cmake, looks for executable named swig2.0, then swig | | 29 | # FindSWIG, installed by cmake, looks for executable named swig2.0, then swig |
30 | # bin/swig2.0 is the standard used by other OS's | | 30 | # bin/swig2.0 is the standard used by other OS's |
31 | # http://packages.debian.org/sid/i386/swig2.0/filelist | | 31 | # http://packages.debian.org/sid/i386/swig2.0/filelist |
32 | # http://svnweb.freebsd.org/ports/head/devel/swig20/pkg-plist?revision=306553&view=markup | | 32 | # http://svnweb.freebsd.org/ports/head/devel/swig20/pkg-plist?revision=306553&view=markup |
33 | | | 33 | |
34 | # Keep the path from changing due to minor version bumps. | | 34 | # Keep the path from changing due to minor version bumps. |
35 | CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \ | | 35 | CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \ |
36 | --program-suffix=2.0 | | 36 | --program-suffix=2.0 |
37 | BUILD_TARGET= swig | | 37 | BUILD_TARGET= swig |
38 | | | 38 | |
39 | USE_LANGUAGES= c c++ | | 39 | USE_LANGUAGES= c c++ |
40 | USE_LIBTOOL= yes | | 40 | USE_LIBTOOL= yes |
41 | USE_TOOLS+= gmake pax | | 41 | USE_TOOLS+= gmake pax |
| | | 42 | TOOLS_BROKEN+= perl |
42 | GNU_CONFIGURE= yes | | 43 | GNU_CONFIGURE= yes |
43 | GNU_CONFIGURE_STRICT= no # has sub-configures | | 44 | GNU_CONFIGURE_STRICT= no # has sub-configures |
44 | | | 45 | |
45 | INSTALLATION_DIRS+= share/doc/swig/2.0 share/examples/swig/2.0 | | 46 | INSTALLATION_DIRS+= share/doc/swig/2.0 share/examples/swig/2.0 |
46 | | | 47 | |
47 | CHECK_INTERPRETER_SKIP+= share/examples/swig/* | | 48 | CHECK_INTERPRETER_SKIP+= share/examples/swig/* |
48 | CHECK_WRKREF_SKIP+= share/examples/swig/* | | 49 | CHECK_WRKREF_SKIP+= share/examples/swig/* |
49 | | | 50 | |
50 | # configure fails to generate this on NetBSD | | 51 | # configure fails to generate this on NetBSD |
51 | LDFLAGS+= -lpcre | | 52 | LDFLAGS+= -lpcre |
52 | | | 53 | |
53 | TEST_TARGET= check | | 54 | TEST_TARGET= check |
54 | # Tests require lots of other dependencies. There should be a better | | 55 | # Tests require lots of other dependencies. There should be a better |