Install the executables with version numbers, to allow SWIG-dependent

ports to specify the version of SWIG to use.
This commit is contained in:
Akinori MUSHA 2000-10-16 09:43:32 +00:00
parent c698265f5c
commit c87c7c7b52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33889
10 changed files with 67 additions and 35 deletions

View file

@ -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>

View file

@ -1,4 +1,5 @@
bin/swig
bin/swig%%VER%%
lib/libswigpl.a
lib/libswigpl.la
lib/libswigpl.so

View file

@ -1,16 +1,16 @@
# 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.1p5
PORTREVISION= 2
PORTVERSION= ${VER}p5
PORTREVISION= 3
CATEGORIES= devel perl5 python tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/1.1/ \
ftp://ftp.rge.com/pub/languages/swig/${VER}/ \
ftp://ftp.mcc.ac.uk/pub/mvc/swig/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -20,17 +20,23 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
VER= 1.1
USE_PERL5= yes
PYTHON_VERSION?= python1.5
PYTHON_NO_DEPENDS?= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET= all runtime
MAN1= swig.1
PLIST_SUB= VER="${VER}"
post-install:
${LN} ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.mk>

View file

@ -1,4 +1,5 @@
bin/swig
bin/swig%%VER%%
lib/libswig.a
lib/libswigpl.a
lib/libswigpy.a

View file

@ -1,16 +1,16 @@
# 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.1p5
PORTREVISION= 2
PORTVERSION= ${VER}p5
PORTREVISION= 3
CATEGORIES= devel perl5 python tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/1.1/ \
ftp://ftp.rge.com/pub/languages/swig/${VER}/ \
ftp://ftp.mcc.ac.uk/pub/mvc/swig/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -20,17 +20,23 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
VER= 1.1
USE_PERL5= yes
PYTHON_VERSION?= python1.5
PYTHON_NO_DEPENDS?= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET= all runtime
MAN1= swig.1
PLIST_SUB= VER="${VER}"
post-install:
${LN} ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.mk>

View file

@ -1,4 +1,5 @@
bin/swig
bin/swig%%VER%%
lib/libswig.a
lib/libswigpl.a
lib/libswigpy.a

View file

@ -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>

View file

@ -1,4 +1,5 @@
bin/swig
bin/swig%%VER%%
lib/libswigpl.a
lib/libswigpl.la
lib/libswigpl.so

View file

@ -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>

View file

@ -1,4 +1,5 @@
bin/swig
bin/swig%%VER%%
lib/libswigpl.a
lib/libswigpl.la
lib/libswigpl.so