openbsd-ports/devel/swig/Makefile

54 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.43 2007/09/16 02:53:14 merdely Exp $
COMMENT-main= simplified wrapper and interface generator
1999-10-28 06:06:07 -04:00
SUBST_VARS= VERSION
2005-06-09 03:50:54 -04:00
VERSION= 1.3.24
DISTNAME= swig-${VERSION}
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/}
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
2004-11-23 19:11:03 -05:00
WANTLIB= c m stdc++
MODULES= lang/python
RUN_DEPENDS-main=
BUILD_DEPENDS= ::lang/tcl/8.4 \
::lang/ruby \
::lang/guile
2000-02-12 01:29:49 -05:00
WRKDIST= ${WRKDIR}/SWIG-${VERSION}
1998-10-08 14:47:14 -04:00
2005-06-09 03:50:54 -04:00
USE_GMAKE= Yes
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 \
--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>