2000-10-16 09:43:32 +00:00
|
|
|
# New ports collection makefile for: SWIG
|
|
|
|
# Date created: 19 April 1996
|
|
|
|
# Whom: jkh
|
1996-04-19 18:44:04 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1996-04-19 18:44:04 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= swig
|
2000-10-16 09:43:32 +00:00
|
|
|
PORTVERSION= ${VER}p5
|
2002-01-11 15:44:40 +00:00
|
|
|
PORTREVISION= 8
|
2001-04-02 19:04:13 +00:00
|
|
|
CATEGORIES= devel perl5 python tcl83
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2000-10-16 09:43:32 +00:00
|
|
|
ftp://ftp.rge.com/pub/languages/swig/${VER}/ \
|
1997-12-04 11:17:45 +00:00
|
|
|
ftp://ftp.mcc.ac.uk/pub/mvc/swig/
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-04-11 21:30:15 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1996-04-23 07:47:40 +00:00
|
|
|
|
2000-08-22 01:54:02 +00:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:52:56 +00:00
|
|
|
COMMENT= Simplified Wrapper and Interface Generator
|
1996-04-23 07:47:40 +00:00
|
|
|
|
2000-09-22 04:50:44 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
|
2001-04-02 19:04:13 +00:00
|
|
|
${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83
|
1996-04-19 18:44:04 +00:00
|
|
|
|
2000-10-16 09:43:32 +00:00
|
|
|
VER= 1.1
|
|
|
|
|
2000-06-15 17:12:51 +00:00
|
|
|
USE_PERL5= yes
|
2001-05-23 03:09:35 +00:00
|
|
|
USE_PYTHON= yes
|
2001-06-11 09:51:15 +00:00
|
|
|
PYTHON_NO_DEPENDS= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-16 09:43:32 +00:00
|
|
|
|
2001-06-11 09:51:15 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:U}${PORTVERSION}
|
2000-08-22 01:54:02 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-02 05:11:48 +00:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
|
2001-04-02 19:04:13 +00:00
|
|
|
CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.3/ \
|
|
|
|
--with-tcllib=${LOCALBASE}/lib/tcl8.3/
|
2000-08-22 01:54:02 +00:00
|
|
|
ALL_TARGET= all runtime
|
|
|
|
|
|
|
|
MAN1= swig.1
|
2000-10-16 09:43:32 +00:00
|
|
|
PLIST_SUB= VER="${VER}"
|
|
|
|
|
2001-11-06 20:24:35 +00:00
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
|
2000-10-16 09:43:32 +00:00
|
|
|
post-install:
|
2001-05-26 12:05:30 +00:00
|
|
|
${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
|
2000-06-16 21:52:40 +00:00
|
|
|
|
1996-04-19 18:44:04 +00:00
|
|
|
.include <bsd.port.mk>
|