1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/lang/io/Makefile
Max Brazhnikov ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00

46 lines
956 B
Makefile

# 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= *
.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>