1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/lang/gcl/Makefile

55 lines
1.1 KiB
Makefile

# Created by: hsu
# $FreeBSD$
PORTNAME= gcl
PORTVERSION= 2.6.7
PORTREVISION= 7
CATEGORIES= lang tcl tk
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Common Lisp
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
ONLY_FOR_ARCHS= i386
USES= readline
USE_XORG= x11
USE_TCL_BUILD= yes
USE_TCL= yes
USE_TK_BUILD= yes
USE_TK= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--prefix=${PREFIX} \
--enable-ansi \
--enable-machine=FreeBSD \
--enable-info=${PREFIX}/info \
--enable-tkconfig=${LOCALBASE}/lib/tk${TCL_VER} \
--enable-tclconfig=${LOCALBASE}/lib/tcl${TCL_VER} \
--with-x \
--disable-dlopen \
--disable-dynsysbfd \
--disable-statsysbfd \
--disable-locbfd \
--enable-custreloc
CONFIGURE_ENV= C_INCLUDE_PATH="${PREFIX}/include" LIBRARY_PATH="${PREFIX}/lib"
MAKEFILE= makefile
MAKE_JOBS_UNSAFE=yes
CFLAGS+= -I${LOCALBASE}/include
PLIST_SUB= GCL_VER="${PORTVERSION}"
INFO= gcl-si gcl-tk
NO_STAGE= yes
post-patch::
@${REINPLACE_CMD} -e \
's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include| ; \
s|@@LOCALLIBS@@|-lreadline -lm -L${LOCALBASE}/lib -lgmp|' \
${WRKSRC}/h/FreeBSD.defs
.include <bsd.port.mk>