mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
51 lines
921 B
Makefile
51 lines
921 B
Makefile
# Created by: jmacd
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scheme48
|
|
PORTVERSION= 1.9
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://www.s48.org/${PORTVERSION}/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= The Scheme Underground's implementation of R5RS
|
|
|
|
LICENSE= BSD
|
|
|
|
CONFLICTS= scsh-[0-9]*
|
|
|
|
ALL_TARGET= enough
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= scheme48.1
|
|
|
|
NO_STAGE= yes
|
|
.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:
|
|
cd ${WRKSRC}; ${MAKE} check
|
|
|
|
.include <bsd.port.mk>
|