mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
1cd277bdce
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. Part II, Bump PORTREVISIONs. PR: 182136 Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports) Tested by: bdrewery (two -exp runs)
47 lines
1008 B
Makefile
47 lines
1008 B
Makefile
# Created by: Hye-Shik Chang
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= io
|
|
PORTVERSION= 2011.09.12
|
|
PORTREVISION= 3
|
|
CATEGORIES= lang
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Small prototype-based programming language
|
|
|
|
LICENSE= BSD
|
|
|
|
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>
|