freebsd-ports/lang/io/Makefile
Mathieu Arnold 07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00

46 lines
992 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= 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>