From owner-svn-ports-head@FreeBSD.ORG Thu Feb 7 17:20:13 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AD2DE797; Thu, 7 Feb 2013 17:20:13 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 90C8AF70; Thu, 7 Feb 2013 17:20:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r17HKDnW036220; Thu, 7 Feb 2013 17:20:13 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r17HKCXQ036212; Thu, 7 Feb 2013 17:20:12 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201302071720.r17HKCXQ036212@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 7 Feb 2013 17:20:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311876 - in head/lang: . copper X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 17:20:13 -0000 Author: gahr Date: Thu Feb 7 17:20:12 2013 New Revision: 311876 URL: http://svnweb.freebsd.org/changeset/ports/311876 Log: - New port: lang/copper Copper an experimental programming language used to develop Code Browser 4. It is based on Zinc [http://tibleiz.net/zinc/] with some improvements such as genericity, multiple return values or variadic arguments. It does not generate intermediary C code anymore, it has two backends: a x86 COFF generator and LLVM (version 2.9). WWW: http://tibleiz.net/copper/ Added: head/lang/copper/ head/lang/copper/Makefile (contents, props changed) head/lang/copper/distinfo (contents, props changed) head/lang/copper/pkg-descr (contents, props changed) Modified: head/lang/Makefile Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Thu Feb 7 17:12:02 2013 (r311875) +++ head/lang/Makefile Thu Feb 7 17:20:12 2013 (r311876) @@ -40,6 +40,7 @@ SUBDIR += cmucl SUBDIR += cmucl-extra SUBDIR += cocor + SUBDIR += copper SUBDIR += cparser SUBDIR += csharp-mode.el SUBDIR += cython Added: head/lang/copper/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/copper/Makefile Thu Feb 7 17:20:12 2013 (r311876) @@ -0,0 +1,40 @@ +# Created by: gahr +# $FreeBSD$ + +PORTNAME= copper +PORTVERSION= 1.6 +CATEGORIES= lang +MASTER_SITES= http://tibleiz.net/download/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= gahr@FreeBSD.org +COMMENT= Another experimental programming language + +BUILD_DEPENDS= llc:${PORTSDIR}/devel/llvm + +ONLY_FOR_ARCHS= i386 amd64 +USE_GMAKE= yes +USE_LINUX= f10 +MAKE_ARGS+= BACKEND=llvm +WRKSRC= ${WRKDIR}/${PKGNAME} + +PLIST_FILES= bin/copper-llvm + +.include + +.if ${ARCH} == "amd64" +ALL_TARGET= boot64 all +.else +ALL_TARGET= all +.endif + +post-patch: + ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \ + s|^CC|#CC|; \ + s|x86_64|amd64|; \ + s|g++|${CXX}|; \ + s|-ldl||g; \ + s|^LFLAGS=|LFLAGS=-L${LOCALBASE}/lib|' \ + ${WRKSRC}/Makefile + +.include Added: head/lang/copper/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/copper/distinfo Thu Feb 7 17:20:12 2013 (r311876) @@ -0,0 +1,2 @@ +SHA256 (copper-1.6-src.tar.gz) = 470716ca413cef881b311e89b5216d1cf8cdccfbff9c69a93b4a3322baedba2d +SIZE (copper-1.6-src.tar.gz) = 571656 Added: head/lang/copper/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/copper/pkg-descr Thu Feb 7 17:20:12 2013 (r311876) @@ -0,0 +1,7 @@ +Copper an experimental programming language used to develop Code Browser 4. +It is based on Zinc [http://tibleiz.net/zinc/] with some improvements such +as genericity, multiple return values or variadic arguments. It does not +generate intermediary C code anymore, it has two backends: a x86 COFF +generator and LLVM (version 2.9). + +WWW: http://tibleiz.net/copper/