2012-12-14 04:33:12 +01:00
|
|
|
# Created by: hsu
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1995-02-12 22:10:03 +01:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= gcl
|
2005-11-03 15:49:25 +01:00
|
|
|
PORTVERSION= 2.6.7
|
2010-04-19 12:43:42 +02:00
|
|
|
PORTREVISION= 7
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= lang tcl tk
|
2012-12-14 04:33:12 +01:00
|
|
|
MASTER_SITES= GNU
|
1996-11-12 03:19:40 +01:00
|
|
|
|
2009-11-13 01:20:23 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= GNU Common Lisp
|
2000-02-27 18:44:01 +01:00
|
|
|
|
2010-04-19 12:43:42 +02:00
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
|
2002-05-18 04:41:24 +02:00
|
|
|
|
2009-08-08 14:25:48 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2004-02-02 11:44:19 +01:00
|
|
|
|
2013-05-06 17:34:17 +02:00
|
|
|
USES= readline
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG= x11
|
2012-12-14 04:33:12 +01:00
|
|
|
USE_TCL_BUILD= yes
|
|
|
|
USE_TCL= yes
|
|
|
|
USE_TK_BUILD= yes
|
|
|
|
USE_TK= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-09-14 17:10:02 +02:00
|
|
|
CONFIGURE_ARGS=--prefix=${PREFIX} \
|
2005-11-03 15:49:25 +01:00
|
|
|
--enable-ansi \
|
2003-09-14 17:10:02 +02:00
|
|
|
--enable-machine=FreeBSD \
|
|
|
|
--enable-info=${PREFIX}/info \
|
2009-12-07 23:00:26 +01:00
|
|
|
--enable-tkconfig=${LOCALBASE}/lib/tk${TCL_VER} \
|
|
|
|
--enable-tclconfig=${LOCALBASE}/lib/tcl${TCL_VER} \
|
2003-09-14 17:10:02 +02:00
|
|
|
--with-x \
|
|
|
|
--disable-dlopen \
|
|
|
|
--disable-dynsysbfd \
|
|
|
|
--disable-statsysbfd \
|
|
|
|
--disable-locbfd \
|
|
|
|
--enable-custreloc
|
2012-12-14 04:33:12 +01:00
|
|
|
CONFIGURE_ENV= C_INCLUDE_PATH="${PREFIX}/include" LIBRARY_PATH="${PREFIX}/lib"
|
1995-02-12 22:10:03 +01:00
|
|
|
MAKEFILE= makefile
|
2012-12-14 04:33:12 +01:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
1997-10-13 11:10:33 +02:00
|
|
|
|
2012-12-14 04:33:12 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2003-09-14 17:10:02 +02:00
|
|
|
|
2012-12-14 04:33:12 +01:00
|
|
|
PLIST_SUB= GCL_VER="${PORTVERSION}"
|
1999-11-25 19:34:01 +01:00
|
|
|
|
2012-12-14 04:33:12 +01:00
|
|
|
INFO= gcl-si gcl-tk
|
2007-12-26 17:19:42 +01:00
|
|
|
|
2013-09-20 21:53:09 +02:00
|
|
|
NO_STAGE= yes
|
2012-12-14 04:33:12 +01:00
|
|
|
post-patch::
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include| ; \
|
|
|
|
s|@@LOCALLIBS@@|-lreadline -lm -L${LOCALBASE}/lib -lgmp|' \
|
|
|
|
${WRKSRC}/h/FreeBSD.defs
|
1997-10-13 11:10:33 +02:00
|
|
|
|
2012-12-14 04:33:12 +01:00
|
|
|
.include <bsd.port.mk>
|