aboutsummaryrefslogtreecommitdiff
path: root/devel/swig13
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-22 04:50:44 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-22 04:50:44 +0000
commit64e6cd6545937d4fc07a4ecbe2e4f8293be8ec5f (patch)
tree27b0f7e71b33f9f097ef5b7a1e2815eb1cda38c1 /devel/swig13
parentfe5d224c2a68f690bda65f1483643fa2ac84c631 (diff)
downloadports-64e6cd6545937d4fc07a4ecbe2e4f8293be8ec5f.tar.gz
ports-64e6cd6545937d4fc07a4ecbe2e4f8293be8ec5f.zip
Utilize bsd.{ruby,python}.mk.
Notes
Notes: svn path=/head/; revision=32965
Diffstat (limited to 'devel/swig13')
-rw-r--r--devel/swig13/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index b366abfc5330..42f5c9b55353 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= swig
PORTVERSION= 1.3a4
+PORTREVISION= 1
CATEGORIES= devel perl5 python ruby tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/ \
@@ -16,11 +17,14 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python \
- ${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82 \
- ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby
+BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
+ ${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
USE_PERL5= yes
+USE_RUBY= yes
+RUBY_NO_RUN_DEPENDS= yes
+PYTHON_VERSION?= python1.5
+PYTHON_NO_DEPENDS= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
USE_LIBTOOL= yes