openbsd-ports/devel/swig/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.52 2011/06/09 07:34:33 jasper Exp $
COMMENT= simplified wrapper and interface generator
1999-10-28 06:06:07 -04:00
SUBST_VARS= VERSION
VERSION= 1.3.36
DISTNAME= swig-${VERSION}
REVISION= 5
1997-12-01 17:23:25 -05:00
CATEGORIES= devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
HOMEPAGE= http://www.swig.org/
1997-12-01 17:23:25 -05:00
# BSD
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++
MODULES= lang/python lang/tcl lang/ruby
MODRUBY_RUNDEP= No
MODPY_RUNDEP= No
2008-10-28 09:19:28 -04:00
BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS} \
2010-11-15 14:45:56 -05:00
lang/guile
2000-02-12 01:29:49 -05:00
1998-10-08 14:47:14 -04:00
2005-06-09 03:50:54 -04:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
2008-10-28 09:19:28 -04:00
CONFIGURE_ARGS+= --with-tclincl=${MODTCL_INCDIR} \
--with-tcllib=${MODTCL_LIBDIR} \
--with-guilelib=${LOCALBASE}/lib \
--with-python=${MODPY_BIN} \
--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
SWIG_EXAMPLES= ${PREFIX}/share/examples/swig
2002-03-24 22:26:01 -05:00
SWIG_DOCS= ${PREFIX}/share/doc/swig
post-install:
${INSTALL_DATA_DIR} ${SWIG_EXAMPLES}
2002-03-24 22:26:01 -05:00
${INSTALL_DATA_DIR} ${SWIG_DOCS}
cp -R ${WRKSRC}/Examples/* ${SWIG_EXAMPLES}
2002-03-24 22:26:01 -05:00
cp -R ${WRKSRC}/Doc/* ${SWIG_DOCS}
1997-12-01 17:23:25 -05:00
.include <bsd.port.mk>