1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/scheme48/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

49 lines
893 B
Makefile

# Created by: jmacd
# $FreeBSD$
PORTNAME= scheme48
PORTVERSION= 1.9.2
CATEGORIES= lang scheme
MASTER_SITES= http://www.s48.org/${PORTVERSION}/
MAINTAINER= lichray@gmail.com
COMMENT= The Scheme Underground's implementation of R5RS
LICENSE= BSD
CONFLICTS= scsh-[0-9]*
ALL_TARGET= enough
USES= gmake tar:tgz
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>