head	1.9;
access;
symbols
	RELEASE_8_3_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2013.03.22.23.30.08;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2013.01.10.17.43.59;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.11.17.05.58.48;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2012.07.25.05.13.12;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2012.07.21.18.03.59;	author lwhsu;	state Exp;
branches;
next	1.4;

1.4
date	2012.06.26.10.13.38;	author fluffy;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.02.16.10.57;	author lwhsu;	state Exp;
branches;
next	1.2;

1.2
date	2012.02.02.22.22.06;	author scheidell;	state Exp;
branches;
next	1.1;

1.1
date	2012.01.26.12.08.11;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for: clay
# Date created: 2012-01-24
# Whom: Jyun-Yan You <jyyou@@cs.nctu.edu.tw>
#
# $FreeBSD: head/lang/clay/Makefile 314960 2013-03-22 20:06:14Z makc $
#

PORTNAME=	clay
PORTVERSION=	0.1.2
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=	llvm31>=3.1:${PORTSDIR}/devel/llvm31

OPTIONS_DEFINE=		BINDGEN
BINDGEN_DESC=		Build with binding generator
OPTIONS_DEFAULT=	BINDGEN

GITVERSION=	751ebe3
FETCH_ARGS=	-pRr
WRKSRC=		${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION}

ONLY_FOR_ARCHS=	i386 amd64

USES=		cmake
CMAKE_ARGS+=	-G "Unix Makefiles" -DBUILD_FIX=false

CC=		clang
CXX=		clang++

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MBINDGEN}
PLIST_SUB+=	BINDGEN=""
.else
PLIST_SUB+=	BINDGEN="@@comment "
CMAKE_ARGS+=	-DBUILD_BINDGEN=false
.endif

.if ${OSVERSION} < 900044 || ${PORT_OPTIONS:MBINDGEN}
BUILD_DEPENDS+=	clang31>=3.1:${PORTSDIR}/lang/clang31
RUN_DEPENDS+=	clang31>=3.1:${PORTSDIR}/lang/clang31
.endif

.if defined(NOPORTDOCS)
pre-configure:
	${REINPLACE_CMD} \
	    -e 's|install(DIRECTORY doc/ DESTINATION share/doc/clay)||' \
	    ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.post.mk>
@


1.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310188
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310188 | brooks | 2013-01-10 16:30:53 +0000 (Thu, 10 Jan 2013) | 3 lines
## SVN ##
## SVN ## Depend on llvm31/clang31 ports to avoid breakage when I update
## SVN ## llvm/clang to 3.2.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/clay/Makefile 310188 2013-01-10 16:30:53Z brooks $
d31 1
a31 1
USE_CMAKE=	yes
@


1.7
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/clay/Makefile 301506 2012-07-25 05:13:12Z wen $
d19 1
a19 1
BUILD_DEPENDS=	llvm>=3.1:${PORTSDIR}/devel/llvm
d47 2
a48 2
BUILD_DEPENDS+=	clang>=3.1:${PORTSDIR}/lang/clang
RUN_DEPENDS+=	clang>=3.1:${PORTSDIR}/lang/clang
@


1.6
log
@SVN rev 301506 on 2012-07-25 05:13:12Z by wen

- Update to 0.1.2

PR:		170105
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@SVN rev 301282 on 2012-07-21 18:03:59Z by lwhsu

- Add option to build clay-bindgen

PR:		ports/169969
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.1.1
PORTREVISION=	2
d25 1
a25 1
GITVERSION=	850c5c9
@


1.4
log
@- Adopt patch from git repo to fix fuild with LLVM 3.1
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 5
a24 1
BUILD_DEPENDS=	llvm>=3.0:${PORTSDIR}/devel/llvm
d40 10
a49 3
.if ${OSVERSION} < 900044
BUILD_DEPENDS+=	clang>=3.0:${PORTSDIR}/lang/clang
RUN_DEPENDS+=	clang>=3.0:${PORTSDIR}/lang/clang
@


1.3
log
@- Update to 0.1.1

PR:		ports/165580
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
@
text
@d10 1
@


1.2
log
@- Fix to build on i386

PR:		ports/164551
Reported by:	Arne Meyer <meyer.arne83@@gmail.com>
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
Approved by:	gabor (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.1.0
d21 1
a21 1
GITVERSION=	0dcc5de
a29 3
.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
d32 2
a33 1
.endif
@


1.1
log
@Add clay 0.1.0, a language designed for generic programming.

PR:		ports/164505
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw>
@
text
@a26 3
CC=		clang
CXX=		clang++

d32 5
@

