openbsd-ports/devel/swig/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

2002-12-29 15:19:09 -05:00
# $OpenBSD: Makefile,v 1.26 2002/12/29 20:19:12 fgsch Exp $
COMMENT= "simplified wrapper and interface generator"
COMMENT-examples= "examples for swig"
1999-10-28 06:06:07 -04:00
2002-03-24 22:26:01 -05:00
VERSION= 1.3.11
DISTNAME= swig-${VERSION}
PKGNAME-examples= swig-examples-${VERSION}
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
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
1997-12-01 17:23:25 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PYTHON_VER= 2.2
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} \
2002-03-24 22:26:01 -05:00
::lang/tcl/8.3 \
::lang/guile \
::lang/ruby
2000-02-12 01:29:49 -05:00
MULTI_PACKAGES= -examples
WRKDIST= ${WRKDIR}/SWIG-${VERSION}
1998-10-08 14:47:14 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-tclincl=${LOCALBASE}/include/tcl8.3 \
--with-tcllib==${LOCALBASE}/lib/tcl8.3 \
--with-guilelib=${LOCALBASE}/lib \
--with-python=${LOCALBASE}/bin/python${PYTHON_VER}
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/Tools
1997-12-01 17:23:25 -05:00
ALL_TARGET= swig runtime
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>