From 8a6588eac34614a2b09b2d453763b61b398313ea Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Thu, 26 Jan 2012 12:08:11 +0000 Subject: Add clay 0.1.0, a language designed for generic programming. PR: ports/164505 Submitted by: Jyun-Yan You --- lang/clay/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lang/clay/Makefile (limited to 'lang/clay/Makefile') diff --git a/lang/clay/Makefile b/lang/clay/Makefile new file mode 100644 index 000000000000..8f9f3d2ef2a2 --- /dev/null +++ b/lang/clay/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: clay +# Date created: 2012-01-24 +# Whom: Jyun-Yan You +# +# $FreeBSD$ +# + +PORTNAME= clay +PORTVERSION= 0.1.0 +CATEGORIES= lang +MASTER_SITES= https://github.com/jckarter/${PORTNAME}/tarball/v${PORTVERSION}/ +DISTNAME= jckarter-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION} + +MAINTAINER= jyyou@cs.nctu.edu.tw +COMMENT= A language designed for generic programming + +LICENSE= BSD + +BUILD_DEPENDS= llvm>=3.0:${PORTSDIR}/devel/llvm + +GITVERSION= 0dcc5de +FETCH_ARGS= -pRr +WRKSRC= ${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION} + +ONLY_FOR_ARCHS= i386 amd64 + +CC= clang +CXX= clang++ + +USE_CMAKE= yes +CMAKE_ARGS+= -G "Unix Makefiles" -DBUILD_FIX=false + +.include + +.if ${OSVERSION} < 900044 +BUILD_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang +RUN_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang +.endif + +.if defined(NOPORTDOCS) +pre-configure: + ${REINPLACE_CMD} \ + -e 's|install(DIRECTORY doc/ DESTINATION share/doc/clay)||' \ + ${WRKSRC}/CMakeLists.txt +.endif + +.include -- cgit v1.2.3