blob: adeb1d0e94d1769b7b51d3eb79b87853cc1c7012 (
plain) (
blame)
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
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= io
PORTVERSION= 2011.09.12
PORTREVISION= 1
CATEGORIES= lang
MAINTAINER= gahr@FreeBSD.org
COMMENT= Small prototype-based programming language
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= stevedekorte
GH_COMMIT= 23afbcc
USE_LDCONFIG= yes
USES= cmake:outsource
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release
PORTDOCS= *
PORTEXAMPLES= *
NO_STAGE= yes
.include "${.CURDIR}/Makefile.addons"
post-patch:
${REINPLACE_CMD} -e 's/^[ ]*add_subdirectory/#&/' \
${WRKSRC}/addons/CMakeLists.txt
.for addon in ${ADDONS}
${ECHO} "add_subdirectory(${addon})" >> ${WRKSRC}/addons/CMakeLists.txt
.endfor
${FIND} ${WRKSRC}/addons -name "*.bak" -o -name "*.orig" -delete
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|