2015-04-10 10:44:22 +00:00
|
|
|
# Created by: Tobias Kortkamp <tobias.kortkamp@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chibi-scheme
|
2018-02-16 12:05:47 +00:00
|
|
|
DISTVERSION= 0.8
|
2015-04-10 10:44:22 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
|
2017-02-15 12:28:29 +00:00
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
2015-04-10 10:44:22 +00:00
|
|
|
COMMENT= Minimal Scheme implementation for use as a C extension language
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
2017-06-27 08:29:16 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2015-04-10 10:44:22 +00:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
2015-05-05 14:37:21 +00:00
|
|
|
GH_ACCOUNT= ashinn
|
2015-04-10 10:44:22 +00:00
|
|
|
|
|
|
|
USES= gmake
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2018-02-16 12:05:47 +00:00
|
|
|
MAKE_ARGS= IMAGE_FILES="" \
|
|
|
|
LDCONFIG=${TRUE} \
|
|
|
|
LIBDIR=${PREFIX}/lib \
|
2017-06-27 08:29:16 +00:00
|
|
|
MANDIR=${PREFIX}/man/man1 \
|
2018-02-16 12:05:47 +00:00
|
|
|
MODDIR=${PREFIX}/lib/chibi \
|
|
|
|
PKGCONFDIR=${PREFIX}/libdata/pkgconfig
|
|
|
|
# tries to generate meta files with ./chibi-scheme when it's not yet built
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2017-06-27 08:29:16 +00:00
|
|
|
|
|
|
|
ALL_TARGET= all libchibi-scheme.a
|
|
|
|
TEST_TARGET= test
|
|
|
|
|
2018-02-17 13:45:06 +00:00
|
|
|
PORTSCOUT= skipv:stable
|
|
|
|
|
2017-06-27 08:29:16 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's@ -g -g3 -O3 @ @' \
|
2018-02-16 12:05:47 +00:00
|
|
|
-e '/$$(SO)/ s@$$(INSTALL_EXE) -m0755 @$$(BSD_INSTALL_LIB) @' \
|
2017-06-27 08:29:16 +00:00
|
|
|
-e '/tools/ s@$$(INSTALL) -m0755 @$$(BSD_INSTALL_SCRIPT) @' \
|
2018-02-16 12:05:47 +00:00
|
|
|
-e 's@$$(INSTALL_EXE) -m0755 @$$(BSD_INSTALL_PROGRAM) @' \
|
2017-06-27 08:29:16 +00:00
|
|
|
-e '/$$(MANDIR)/ s@$$(INSTALL) -m0644 @$$(BSD_INSTALL_MAN) @' \
|
|
|
|
-e 's@$$(INSTALL) -m0644 @$$(BSD_INSTALL_DATA) @' \
|
|
|
|
${WRKSRC}/Makefile
|
2015-04-10 10:44:22 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|