blob: 40e4cdffb5dc840ef011fa3bcb54b5ed1846447a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#
PORTNAME= chibi-scheme
DISTVERSION= 0.10.0
CATEGORIES= lang
MAINTAINER= gahr@FreeBSD.org
COMMENT= Minimal Scheme implementation for use as a C extension language
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= ashinn
GH_TAGNAME= ${DISTVERSION:R}
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
MAKE_ARGS= IMAGE_FILES="" \
LDCONFIG=${TRUE}
ALL_TARGET= all doc libchibi-scheme.a
TEST_TARGET= test
PORTSCOUT= skipv:stable
PLIST_SUB= SOVERSION=${DISTVERSION}
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} \
-e '/$$(SO)/s|$$(INSTALL_EXE) -m0755|$$(BSD_INSTALL_LIB)|' \
-e '/tools/s|$$(INSTALL) -m0755|$$(BSD_INSTALL_SCRIPT)|' \
-e 's|$$(INSTALL_EXE) -m0755|$$(BSD_INSTALL_PROGRAM)|' \
-e '/$$(MANDIR)/s|$$(INSTALL) -m0644|$$(BSD_INSTALL_MAN)|' \
-e 's|$$(INSTALL) -m0644|$$(BSD_INSTALL_DATA)|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|-g -g3 -O3 ||' ${WRKSRC}/Makefile.detect
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/lib
${INSTALL_DATA} ${WRKSRC}/doc/chibi.html ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/lib
.include <bsd.port.mk>
|