1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/swig11/Makefile
Mark Linimon 34da9bdf57 With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
2005-11-11 01:18:01 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: SWIG
# Date created: 19 April 1996
# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= swig
PORTVERSION= ${VER}p5
PORTREVISION= 9
CATEGORIES= devel perl5 python tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.mcc.ac.uk/pub/mvc/swig/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simplified Wrapper and Interface Generator
BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
${LOCALBASE}/bin/tclsh8.4:${PORTSDIR}/lang/tcl84
VER= 1.1
USE_PERL5= yes
USE_PYTHON= yes
PYTHON_NO_DEPENDS= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME:U}${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC" PYTHON_VERSION=${PYTHON_VERSION}
CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.4/ \
--with-tcllib=${LOCALBASE}/lib/tcl8.4/ \
--with-pyincl=${PYTHONPREFIX_INCLUDEDIR} \
--with-pylib=${LOCALBASE}/lib
ALL_TARGET= all runtime
MAN1= swig.1
PLIST_SUB= VER="${VER}"
NO_LATEST_LINK= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64 (needs -fPIC)"
.endif
post-install:
${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.post.mk>