2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2007/09/16 02:53:14 merdely Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= simplified wrapper and interface generator
|
1999-10-28 06:06:07 -04:00
|
|
|
|
2007-01-30 09:49:16 -05:00
|
|
|
SUBST_VARS= VERSION
|
2005-06-09 03:50:54 -04:00
|
|
|
VERSION= 1.3.24
|
2001-09-02 09:53:34 -04:00
|
|
|
|
|
|
|
DISTNAME= swig-${VERSION}
|
2006-12-03 09:14:41 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}p4
|
|
|
|
MULTI_PACKAGES= -main
|
1997-12-01 17:23:25 -05:00
|
|
|
CATEGORIES= devel
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
|
2000-10-24 09:17:47 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.swig.org/
|
1997-12-01 17:23:25 -05:00
|
|
|
|
2000-10-04 23:16:12 -04:00
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
1997-12-01 17:23:25 -05:00
|
|
|
|
2000-06-13 10:31:56 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= c m stdc++
|
2000-06-13 10:31:56 -04:00
|
|
|
|
2006-01-28 14:17:21 -05:00
|
|
|
MODULES= lang/python
|
2006-12-03 09:14:41 -05:00
|
|
|
RUN_DEPENDS-main=
|
2006-01-28 14:17:21 -05:00
|
|
|
BUILD_DEPENDS= ::lang/tcl/8.4 \
|
2006-12-03 09:14:41 -05:00
|
|
|
::lang/ruby \
|
|
|
|
::lang/guile
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2001-09-02 09:53:34 -04:00
|
|
|
WRKDIST= ${WRKDIR}/SWIG-${VERSION}
|
1998-10-08 14:47:14 -04:00
|
|
|
|
2005-06-09 03:50:54 -04:00
|
|
|
USE_GMAKE= Yes
|
2001-09-02 09:53:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-12-27 18:23:21 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tclincl=${LOCALBASE}/include/tcl8.4 \
|
|
|
|
--with-tcllib==${LOCALBASE}/lib/tcl8.4 \
|
2002-04-07 18:30:23 -04:00
|
|
|
--with-guilelib=${LOCALBASE}/lib \
|
2006-01-28 14:17:21 -05:00
|
|
|
--with-python=${MODPY_BIN} \
|
2004-07-05 20:58:39 -04:00
|
|
|
--without-php4 \
|
|
|
|
--without-ocaml
|
2004-07-31 17:17:21 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/Tools/config
|
1997-12-01 17:23:25 -05:00
|
|
|
|
2005-06-09 03:50:54 -04:00
|
|
|
ALL_TARGET= swig
|
1997-12-01 17:23:25 -05:00
|
|
|
|
2001-09-02 09:53:34 -04:00
|
|
|
SWIG_EXAMPLES= ${PREFIX}/share/examples/swig
|
2002-03-24 22:26:01 -05:00
|
|
|
SWIG_DOCS= ${PREFIX}/share/doc/swig
|
2001-09-02 09:53:34 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${SWIG_EXAMPLES}
|
2002-03-24 22:26:01 -05:00
|
|
|
${INSTALL_DATA_DIR} ${SWIG_DOCS}
|
2001-09-02 09:53:34 -04:00
|
|
|
cp -R ${WRKSRC}/Examples/* ${SWIG_EXAMPLES}
|
2002-03-24 22:26:01 -05:00
|
|
|
cp -R ${WRKSRC}/Doc/* ${SWIG_DOCS}
|
2001-09-02 09:53:34 -04:00
|
|
|
|
1997-12-01 17:23:25 -05:00
|
|
|
.include <bsd.port.mk>
|