freebsd-ports/lang/scheme48/Makefile
Muhammad Moinur Rahman 721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00

47 lines
874 B
Makefile

PORTNAME= scheme48
PORTVERSION= 1.9.2
CATEGORIES= lang scheme
MASTER_SITES= http://www.s48.org/${PORTVERSION}/
MAINTAINER= lichray@gmail.com
COMMENT= Scheme Underground's implementation of R5RS
WWW= https://www.s48.org
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
CONFLICTS= scsh
ALL_TARGET= enough
USES= cpe gmake tar:tgz
GNU_CONFIGURE= yes
CPE_VENDOR= s48
OPTIONS_DEFINE= DOCS
DOCS_USES= tex
DOCS_CONFIGURE_ON= --docdir="${DOCSDIR}"
PLIST_SUB+= VER=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} \
-e 's/-mthreads/-lpthread/' \
-e 's/-mt/-lpthread/' \
-e 's/-munaligned-double//' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
-e '/INSTALL.*COPYING/d' \
${WRKSRC}/Makefile.in
post-patch-DOCS-off:
@${REINPLACE_CMD} \
-e 's/install-doc$$//' \
-e 's/go doc$$/go/' \
${WRKSRC}/Makefile.in
do-test:
${MAKE} -C ${WRKSRC} check
.include <bsd.port.mk>