summaryrefslogtreecommitdiff
path: root/devel/SWIG
diff options
context:
space:
mode:
Diffstat (limited to 'devel/SWIG')
-rw-r--r--devel/SWIG/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/SWIG/Makefile b/devel/SWIG/Makefile
index e530f12155b1..eae48dbb957d 100644
--- a/devel/SWIG/Makefile
+++ b/devel/SWIG/Makefile
@@ -7,6 +7,7 @@
PORTNAME= swig
PORTVERSION= 1.1p5
+PORTREVISION= 1
CATEGORIES= devel perl5 python tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/1.1/ \
@@ -16,10 +17,12 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python \
+BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
USE_PERL5= yes
+PYTHON_VERSION?= python1.5
+PYTHON_NO_DEPENDS?= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
GNU_CONFIGURE= yes