summaryrefslogtreecommitdiff
path: root/lang/c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-04-11 11:39:35 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-04-11 11:39:35 +0000
commitb3beafc07ab2b372b5c55df0b99fb5c373fe3c69 (patch)
treec4597411ab71144868e785379edbfb861b88c1ae /lang/c
parent- Fix build on < 10.x after wxgtk30 update (diff)
[NEW] lang/c: Tool to compile and run C programs like a shell script
Tool to compile and run C programs like a shell script. WWW: https://www.github.com/ryanmjacobs/c PR: 198365 Submitted by: neel@neelc.org
Notes
Notes: svn path=/head/; revision=383790
Diffstat (limited to 'lang/c')
-rw-r--r--lang/c/Makefile26
-rw-r--r--lang/c/distinfo2
-rw-r--r--lang/c/pkg-descr3
3 files changed, 31 insertions, 0 deletions
diff --git a/lang/c/Makefile b/lang/c/Makefile
new file mode 100644
index 000000000000..4b9f1be1b6b4
--- /dev/null
+++ b/lang/c/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= c
+PORTVERSION= 0.10
+CATEGORIES= lang
+
+MAINTAINER= neel@neelc.org
+COMMENT= Tool to compile and run C programs like a shell script
+
+LICENSE= MIT
+
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
+USE_GITHUB= yes
+GH_ACCOUNT= ryanmjacobs
+GH_TAGNAME= v${PORTVERSION}
+NO_BUILD= yes
+
+SHEBANG_FILES= c
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/lang/c/distinfo b/lang/c/distinfo
new file mode 100644
index 000000000000..ab94be1d75d1
--- /dev/null
+++ b/lang/c/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ryanmjacobs-c-0.10-v0.10_GH0.tar.gz) = 958a2c2b2392b905cf39d75a3007adb47a818815a8485ca2170b4214233f6b14
+SIZE (ryanmjacobs-c-0.10-v0.10_GH0.tar.gz) = 16759
diff --git a/lang/c/pkg-descr b/lang/c/pkg-descr
new file mode 100644
index 000000000000..c4beb0de7e4e
--- /dev/null
+++ b/lang/c/pkg-descr
@@ -0,0 +1,3 @@
+Tool to compile and run C programs like a shell script.
+
+WWW: https://www.github.com/ryanmjacobs/c