(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
41 lines
981 B
Makefile
41 lines
981 B
Makefile
# Created by: Vitaly Magerya <vmagerya@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ypsilon
|
|
PORTVERSION= 0.9.6.3
|
|
PORTREVISION= 7
|
|
CATEGORIES= lang scheme
|
|
|
|
MAINTAINER= vmagerya@gmail.com
|
|
COMMENT= Scheme implementation for real-time applications
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
USE_GITHUB= yes
|
|
GH_TUPLE= fujita-y:ypsilon:0.9.6-update3
|
|
|
|
USES= gmake
|
|
USE_GCC= yes
|
|
|
|
MAKE_ARGS= DATADIR="${DATADIR}"
|
|
|
|
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>
|