1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/lang/chicken/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

58 lines
1.3 KiB
Makefile

# New ports collection makefile for: CHICKEN
# Date created: 31 December 2002
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= chicken
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= http://www.call-with-current-continuation.org/
MAINTAINER= alejandro@varnet.biz
COMMENT= A Scheme-to-C compiler
USE_GMAKE= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
MAN1= chicken-config.1 chicken-profile.1 chicken-setup.1 chicken.1 \
csc.1 csi.1
INFO= chicken
.if !defined(NOPORTDOCS)
PORTDOCS= README chicken.html format.txt
.endif
OPTIONS= PCRE "With PCRE support" off
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Coredump during build on ia64"
.endif
.if defined(WITH_PCRE)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.else
CONFIGURE_ENV+= ac_cv_header_pcre_h=no
.endif
post-patch:
@${REINPLACE_CMD} -e 's/\(install-data-am: \)install-data-local/\1/' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|"/usr/local/include" ||' ${WRKSRC}/csc.scm.in
post-install:
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.post.mk>