f90faf868a
As noted on ports@ recently, pkg_add -r relies on conflicts, and the sheer existence of updates means we MUST take the past into account in conflicts now. Note the renaming of hugs98 to valid package names where versions are concerned. This commit shows clearly the renaming of the xfce4 plugin packages, the ditching of eclipse flavors, the splitting of nessus into subpackages, the splitting of various other software documentations, some packaging bugs in kdeedu, and a lot of files moving around... okay pvalchev@
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.36 2005/08/16 09:49:52 espie Exp $
|
|
|
|
COMMENT= "simplified wrapper and interface generator"
|
|
|
|
VERSION= 1.3.24
|
|
|
|
DISTNAME= swig-${VERSION}
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
|
|
|
|
HOMEPAGE= http://www.swig.org/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m stdc++
|
|
|
|
PYTHON_VER= 2.3
|
|
LIB_DEPENDS= guile.9::lang/guile
|
|
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} \
|
|
::lang/tcl/8.4 \
|
|
::lang/ruby
|
|
|
|
WRKDIST= ${WRKDIR}/SWIG-${VERSION}
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-tclincl=${LOCALBASE}/include/tcl8.4 \
|
|
--with-tcllib==${LOCALBASE}/lib/tcl8.4 \
|
|
--with-guilelib=${LOCALBASE}/lib \
|
|
--with-python=${LOCALBASE}/bin/python${PYTHON_VER} \
|
|
--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>
|