svn commit: r311876 - in head/lang: . copper
Pietro Cerutti
gahr at FreeBSD.org
Thu Feb 7 17:20:13 UTC 2013
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 at 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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/
More information about the svn-ports-head
mailing list