freebsd-ports/lang/scheme48/Makefile

50 lines
904 B
Makefile
Raw Normal View History

# Created by: jmacd
1999-08-25 08:35:40 +02:00
# $FreeBSD$
PORTNAME= scheme48
PORTVERSION= 1.9.2
CATEGORIES= lang scheme
MASTER_SITES= http://www.s48.org/${PORTVERSION}/
1997-08-27 21:31:45 +02:00
EXTRACT_SUFX= .tgz
1995-04-15 07:44:50 +02:00
MAINTAINER= lichray@gmail.com
2004-12-27 15:32:25 +01:00
COMMENT= The Scheme Underground's implementation of R5RS
1995-04-16 01:38:48 +02:00
LICENSE= BSD
CONFLICTS= scsh-[0-9]*
ALL_TARGET= enough
USES= gmake
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
PLIST_SUB+= VER=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} \
-e 's/-mthreads/${PTHREAD_LIBS}/' \
-e 's/-mt/${PTHREAD_LIBS}/' \
-e 's/-munaligned-double//' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
-e '/INSTALL.*COPYING/d' \
${WRKSRC}/Makefile.in
.if ${PORT_OPTIONS:MDOCS}
USE_TEX= yes
CONFIGURE_ARGS+=--docdir="${DOCSDIR}"
.else
@${REINPLACE_CMD} \
-e 's/install-doc$$//' \
-e 's/go doc$$/go/' \
${WRKSRC}/Makefile.in
.endif
test:
${MAKE} -C ${WRKSRC} check
.include <bsd.port.mk>