1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/devel/swig11/Makefile
Akinori MUSHA 5878e8e743 Fix the breakage with gcc 2.95.3 on -CURRENT by adding "-fpic" to
CFLAGS.

Rqported by:	Andrew Kenneth Milton <akm@mail.theinternet.com.au>
2001-02-02 05:11:48 +00:00

44 lines
975 B
Makefile

# New ports collection makefile for: SWIG
# Date created: 19 April 1996
# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= swig
PORTVERSION= ${VER}p5
PORTREVISION= 4
CATEGORIES= devel perl5 python tcl82
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.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_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
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>