aboutsummaryrefslogtreecommitdiffstats
path: root/devel/swig13/Makefile
blob: 6aaddaaf295187b7fd23aecf0787aaf2122d454a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    SWIG
# Date created:         19 April 1996
# Whom:                 jkh
#
# $FreeBSD$
#

PORTNAME=   swig
PORTVERSION=    1.3a5
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}
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= knu@FreeBSD.org

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
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
        --with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET=     swig runtime
PLIST_SUB+=     VER="1.3"

.include <bsd.port.mk>