2013-09-20 19:53:09 +00:00
|
|
|
# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
|
2003-04-04 20:26:07 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= stklos
|
2012-01-02 06:28:28 +00:00
|
|
|
PORTVERSION= 1.10
|
2012-12-10 19:11:11 +00:00
|
|
|
PORTREVISION= 2
|
2003-08-28 00:01:09 +00:00
|
|
|
CATEGORIES= lang scheme
|
2010-03-09 08:02:03 +00:00
|
|
|
MASTER_SITES= http://www.stklos.net/download/ \
|
2009-02-05 15:34:07 +00:00
|
|
|
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
|
|
|
|
|
2010-04-19 10:43:42 +00:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
2012-12-10 19:11:11 +00:00
|
|
|
pcre.3:${PORTSDIR}/devel/pcre \
|
2013-01-29 00:35:32 +00:00
|
|
|
ffi:${PORTSDIR}/devel/libffi \
|
2012-01-02 06:28:28 +00:00
|
|
|
gc-threaded.1:${PORTSDIR}/devel/boehm-gc-threaded
|
2003-04-04 20:26:07 +00:00
|
|
|
|
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
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-04-06 19:29:24 +00:00
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
2003-04-04 20:26:07 +00:00
|
|
|
|
2007-01-15 14:56:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2010-08-18 07:05:58 +00:00
|
|
|
CONFIGURE_ARGS= --enable-threads=posix
|
2007-01-15 14:56:12 +00:00
|
|
|
|
2010-08-18 07:05:58 +00:00
|
|
|
MAN1= stklos-compile.1 stklos-config.1 stklos-genlex.1 \
|
|
|
|
stklos-pkg.1 stklos.1
|
2003-04-04 20:26:07 +00:00
|
|
|
|
2013-09-20 19:53:09 +00:00
|
|
|
NO_STAGE= yes
|
2011-05-01 23:11:26 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 900000
|
|
|
|
BROKEN= does not build on FreeBSD 9.x - runaway process
|
|
|
|
.endif
|
|
|
|
|
2003-04-04 20:26:07 +00:00
|
|
|
post-patch:
|
2010-03-14 12:25:46 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-lgc|-lgc-threaded|' \
|
2010-08-18 07:05:58 +00:00
|
|
|
-e 's|bdw-gc|bdw-gc-threaded|' \
|
|
|
|
-e 's|-lpthread|${PTHREAD_LIBS}|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' \
|
|
|
|
-e 's|-@VERSION@||' \
|
|
|
|
-e 's|^man_MANS = |man_MANS = stklos-pkg.1 |' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
2012-01-02 06:28:28 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|; make|; $$(MAKE)|' \
|
|
|
|
${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.am \
|
|
|
|
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/Makefile.am
|
2007-02-12 13:12:03 +00:00
|
|
|
|
2012-06-08 21:27:42 +00:00
|
|
|
.if !${PORT_OPTIONS:MDOCS}
|
2005-04-06 19:29:24 +00:00
|
|
|
@${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
|
|
|
|
2012-01-02 06:28:28 +00:00
|
|
|
regression-test: build
|
|
|
|
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
|
|
|
|
2011-05-01 23:11:26 +00:00
|
|
|
.include <bsd.port.post.mk>
|