1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/devel/swig20/Makefile

43 lines
994 B
Makefile
Raw Normal View History

# New ports collection makefile for: SWIG
# Date created: 19 April 1996
# Whom: jkh
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-11 21:30:15 +00:00
PORTNAME= swig
PORTVERSION= ${VER}a5
PORTREVISION= 3
CATEGORIES= devel perl5 python ruby tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/ \
ftp://ftp.mcc.ac.uk/pub/mvc/swig/
MASTER_SITE_SUBDIR= ${PORTNAME}
2000-04-11 21:30:15 +00:00
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
2000-09-22 04:50:44 +00:00
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
VER= 1.3
USE_PERL5= yes
2000-09-22 04:50:44 +00:00
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
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET= swig runtime
PLIST_SUB= VER="${VER}"
post-install:
${LN} ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.mk>