1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/lang/ypsilon/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

38 lines
965 B
Makefile

# Created by: Vitaly Magerya <vmagerya@gmail.com>
# $FreeBSD$
PORTNAME= ypsilon
PORTVERSION= 0.9.6.3
PORTREVISION= 3
CATEGORIES= lang scheme
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}-0.9.6.update3
MAINTAINER= vmagerya@gmail.com
COMMENT= Scheme implementation for real-time applications
USES= gmake
MAKE_ARGS= DATADIR="${DATADIR}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
ONLY_FOR_ARCHS= i386 amd64
OPTIONS_DEFINE= EXAMPLES
post-patch:
${REINPLACE_CMD} 's/-fno-[a-z-]*//g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/*.scm ${STAGEDIR}${EXAMPLESDIR}
regression-test: build
cd ${WRKSRC} && ${MAKE_CMD} check
.include <bsd.port.mk>