summaryrefslogtreecommitdiff
path: root/devel/SWIG-devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-16 09:43:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-16 09:43:32 +0000
commitc87c7c7b527a0921f4dd3c86400ad20977f54c20 (patch)
tree5f0f1798308536dad5ddf4191c2cb97cfae88dff /devel/SWIG-devel
parentAdd ruby-ming, Ruby module for the Ming library which allows you to (diff)
Install the executables with version numbers, to allow SWIG-dependent
ports to specify the version of SWIG to use.
Notes
Notes: svn path=/head/; revision=33889
Diffstat (limited to 'devel/SWIG-devel')
-rw-r--r--devel/SWIG-devel/Makefile19
-rw-r--r--devel/SWIG-devel/pkg-plist1
2 files changed, 13 insertions, 7 deletions
diff --git a/devel/SWIG-devel/Makefile b/devel/SWIG-devel/Makefile
index 160aad785fdf..25acdd95a647 100644
--- a/devel/SWIG-devel/Makefile
+++ b/devel/SWIG-devel/Makefile
@@ -1,13 +1,13 @@
-# New ports collection makefile for: SWIG
-# Date created: 19 April 1996
-# Whom: jkh
+# New ports collection makefile for: SWIG
+# Date created: 19 April 1996
+# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= swig
-PORTVERSION= 1.3a5
-PORTREVISION= 1
+PORTVERSION= ${VER}a5
+PORTREVISION= 2
CATEGORIES= devel perl5 python ruby tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/ \
@@ -20,6 +20,8 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
+VER= 1.3
+
USE_PERL5= yes
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
@@ -30,7 +32,10 @@ WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
-ALL_TARGET= swig runtime
-PLIST_SUB+= VER="1.3"
+ALL_TARGET= swig runtime
+PLIST_SUB= VER="${VER}"
+
+post-install:
+ ${LN} ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.mk>
diff --git a/devel/SWIG-devel/pkg-plist b/devel/SWIG-devel/pkg-plist
index 80dc5f4a32ad..c5079e302b63 100644
--- a/devel/SWIG-devel/pkg-plist
+++ b/devel/SWIG-devel/pkg-plist
@@ -1,4 +1,5 @@
bin/swig
+bin/swig%%VER%%
lib/libswigpl.a
lib/libswigpl.la
lib/libswigpl.so