openbsd-ports/devel/swig/Makefile
jasper a994dcdb07 - set license marker
- remove double '=' in CONFIGURE_ARGS
- remove multi packages left overs, this ports hasn't been multipackaged in 5 years.
- set MODPY_RUNDEP=No accordingly.
- reset maintainer per kevlo's request

ok kevlo@
2011-06-09 07:34:33 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.52 2011/06/09 07:34:33 jasper Exp $
COMMENT= simplified wrapper and interface generator
SUBST_VARS= VERSION
VERSION= 1.3.36
DISTNAME= swig-${VERSION}
REVISION= 5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
HOMEPAGE= http://www.swig.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MODULES= lang/python lang/tcl lang/ruby
MODRUBY_RUNDEP= No
MODPY_RUNDEP= No
BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS} \
lang/guile
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-tclincl=${MODTCL_INCDIR} \
--with-tcllib=${MODTCL_LIBDIR} \
--with-guilelib=${LOCALBASE}/lib \
--with-python=${MODPY_BIN} \
--without-php4 \
--without-ocaml
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/Tools/config
ALL_TARGET= swig
SWIG_EXAMPLES= ${PREFIX}/share/examples/swig
SWIG_DOCS= ${PREFIX}/share/doc/swig
post-install:
${INSTALL_DATA_DIR} ${SWIG_EXAMPLES}
${INSTALL_DATA_DIR} ${SWIG_DOCS}
cp -R ${WRKSRC}/Examples/* ${SWIG_EXAMPLES}
cp -R ${WRKSRC}/Doc/* ${SWIG_DOCS}
.include <bsd.port.mk>