mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
7bd499c737
(instead of the previous 8.2 and 1.5). I've found no problems with this updated configuration. Approved by: knu (who hasn't tested this himself)
44 lines
981 B
Makefile
44 lines
981 B
Makefile
# New ports collection makefile for: SWIG
|
|
# Date created: 19 April 1996
|
|
# Whom: jkh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swig
|
|
PORTVERSION= ${VER}p5
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel perl5 python tcl83
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://ftp.rge.com/pub/languages/swig/${VER}/ \
|
|
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.3:${PORTSDIR}/lang/tcl83
|
|
|
|
VER= 1.1
|
|
|
|
USE_PERL5= yes
|
|
PYTHON_VERSION?= python2.0
|
|
PYTHON_NO_DEPENDS?= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
|
|
CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.3/ \
|
|
--with-tcllib=${LOCALBASE}/lib/tcl8.3/
|
|
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>
|