freebsd-ports/lang/gcl/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

55 lines
1.3 KiB
Makefile

# New ports collection makefile for: gcl
# Date created: Feb 8 1995
# Whom: hsu
#
# $FreeBSD$
#
PORTNAME= gcl
PORTVERSION= 2.6.7
CATEGORIES= lang tcl84 tk84
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gcl
MAINTAINER= markm@freebsd.org
COMMENT= GNU Common Lisp
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259
USE_GMAKE= yes
USE_XLIB= yes
CONFIGURE_ARGS=--prefix=${PREFIX} \
--enable-ansi \
--enable-machine=FreeBSD \
--infodir=${PREFIX}/info \
--enable-info=${PREFIX}/info \
--enable-tkconfig=${LOCALBASE}/lib/tk8.4 \
--enable-tclconfig=${LOCALBASE}/lib/tcl8.4 \
--with-x \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
--disable-dlopen \
--disable-dynsysbfd \
--disable-statsysbfd \
--disable-locbfd \
--enable-custreloc
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" C_INCLUDE_PATH=${PREFIX}/include LIBRARY_PATH=${PREFIX}/lib
MAKEFILE= makefile
INFO= gcl-si gcl-tk
PLIST_SUB= GCL_VER=${PORTVERSION}
pre-configure:
${RM} -f ${WRKSRC}/configure
${SED} -i '' \
-e 's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include|' \
-e 's|@@LOCALLIBS@@|-L${LOCALBASE}/lib -lgmp -lm -lreadline|' \
${WRKSRC}/h/FreeBSD.defs
.include <bsd.port.mk>