2003-04-04 20:26:07 +00:00
|
|
|
# New ports collection makefile for: STklos
|
|
|
|
# Date created: 6 November 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= stklos
|
2009-02-05 15:34:07 +00:00
|
|
|
PORTVERSION= 0.98
|
2009-05-13 09:46:02 +00:00
|
|
|
PORTREVISION= 1
|
2003-08-28 00:01:09 +00:00
|
|
|
CATEGORIES= lang scheme
|
2009-02-05 15:34:07 +00:00
|
|
|
MASTER_SITES= http://www.stklos.org/download/ \
|
|
|
|
ftp://kaolin.essi.fr/pub/STklos/
|
2003-04-04 20:26:07 +00:00
|
|
|
|
2009-02-05 15:34:07 +00:00
|
|
|
MAINTAINER= vmagerya@gmail.com
|
2003-04-04 20:26:07 +00:00
|
|
|
COMMENT= The successor of the STk Scheme interpreter
|
|
|
|
|
2009-05-13 09:46:02 +00:00
|
|
|
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
2009-02-05 15:34:07 +00:00
|
|
|
pcre.0:${PORTSDIR}/devel/pcre \
|
|
|
|
ffi.5:${PORTSDIR}/devel/libffi \
|
2003-04-04 20:26:07 +00:00
|
|
|
gc.1:${PORTSDIR}/devel/boehm-gc
|
|
|
|
|
2005-12-04 10:52:17 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2003-04-30 00:38:29 +00:00
|
|
|
|
2005-04-06 19:29:24 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
2003-04-04 20:26:07 +00:00
|
|
|
|
2007-01-15 14:56:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-gtk \
|
|
|
|
--disable-gnome \
|
|
|
|
--enable-threads=none
|
|
|
|
|
2005-12-04 10:52:17 +00:00
|
|
|
MAN1= stklos-compile.1 stklos-config.1 stklos-genlex.1 stklos.1 \
|
|
|
|
stklos-install.1
|
2003-04-04 20:26:07 +00:00
|
|
|
|
|
|
|
post-patch:
|
2005-04-06 19:29:24 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/doc/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|-@VERSION@||' ${WRKSRC}/doc/Makefile.in
|
2007-06-24 15:11:23 +00:00
|
|
|
@${REINPLACE_CMD} -e '/&&/s|make|gmake|; /&&/s|configure|./configure|' \
|
|
|
|
${WRKSRC}/utils/stklos-install
|
2007-02-12 13:12:03 +00:00
|
|
|
|
2005-04-06 19:29:24 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -E -e 's/^(install-data-am:).*/\1 install-man install-schemeDATA/' \
|
|
|
|
-e '/install-docpdfDATA install-man install-schemeDATA/d' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
2003-04-04 20:26:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|