summaryrefslogtreecommitdiff
path: root/devel/swig-build/Makefile.common
blob: c3e922293cb24e5545b6b905bab3f7088b2ab4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile.common,v 1.1.1.1 2003/05/25 08:52:37 epg Exp $

DISTNAME=       swig-${SWIG_VERSION}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=swig/}

MAINTAINER=	epg@pretzelnet.org
HOMEPAGE=	http://www.swig.org/

.include "../../devel/swig-build/Makefile.version"

DISTINFO_FILE=		${.CURDIR}/../swig-build/distinfo
COMMON_FILESDIR=	${.CURDIR}/../swig-build/files
PATCHDIR=		${.CURDIR}/../swig-build/patches

ALL_TARGET=		swig
WRKSRC=			${WRKDIR}/SWIG-${SWIG_VERSION}

USE_BUILDLINK2=		YES
GNU_CONFIGURE=		YES
USE_LIBTOOL=		YES
LIBTOOL_OVERRIDE=	${WRKSRC}/Tools/libtool

CONFIGURE_ARGS+=	--without-guile
CONFIGURE_ARGS+=	--without-java
CONFIGURE_ARGS+=	--without-ocaml
CONFIGURE_ARGS+=	--without-perl5
CONFIGURE_ARGS+=	--without-python
CONFIGURE_ARGS+=	--without-php4
CONFIGURE_ARGS+=	--without-pike
CONFIGURE_ARGS+=	--without-ruby
CONFIGURE_ARGS+=	--without-tcl

pre-configure:
	cd ${WRKSRC} && ${AUTOCONF}

.include "../../mk/autoconf.mk"