1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/lang/io/Makefile
2014-12-10 22:29:14 +00:00

47 lines
1016 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= io
PORTVERSION= 2013.12.04
PORTREVISION= 3
CATEGORIES= lang
MAINTAINER= ports@FreeBSD.org
COMMENT= Small prototype-based programming language
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_GROUP= ADDONS
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= stevedekorte
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 23afbcc
MAKE_JOBS_UNSAFE=yes
USE_LDCONFIG= yes
USES= cmake:outsource
PORTDOCS= *
PORTEXAMPLES= *
.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:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>