aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-12-29 12:30:55 +0800
committerijliao <ijliao@FreeBSD.org>2003-12-29 12:30:55 +0800
commit576ebddf6b792aa1a30b116195d2b6ac913c99e4 (patch)
treeb6b2d8094287fecb639c8e342998403585c56f00 /misc
parent03d6bbb96fba856a74f55b68cb62feca6bb32a07 (diff)
downloadfreebsd-ports-gnome-576ebddf6b792aa1a30b116195d2b6ac913c99e4.tar.gz
freebsd-ports-gnome-576ebddf6b792aa1a30b116195d2b6ac913c99e4.tar.zst
freebsd-ports-gnome-576ebddf6b792aa1a30b116195d2b6ac913c99e4.zip
revive ports/misc/shc and upgrade it to 3.7
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/shc/Makefile27
-rw-r--r--misc/shc/distinfo1
-rw-r--r--misc/shc/pkg-descr6
-rw-r--r--misc/shc/pkg-plist1
5 files changed, 36 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index cc530c8634d0..90bcb75526d7 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -318,6 +318,7 @@
SUBDIR += seq2
SUBDIR += sh-utils
SUBDIR += shared-mime-info
+ SUBDIR += shc
SUBDIR += shuffle
SUBDIR += since
SUBDIR += sloccount
diff --git a/misc/shc/Makefile b/misc/shc/Makefile
new file mode 100644
index 000000000000..1953ce4861ab
--- /dev/null
+++ b/misc/shc/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: shc
+# Date created: Feb 14, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= shc
+PORTVERSION= 3.7
+CATEGORIES= misc
+MASTER_SITES= http://www.datsi.fi.upm.es/~frosal/sources/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A shell script "encoder"
+
+MAN1= shc.1
+
+do-build:
+ @cd ${WRKSRC} && ${CC} ${CFLAGS} -o shc shc.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/shc ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/shc.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/misc/shc/distinfo b/misc/shc/distinfo
new file mode 100644
index 000000000000..b136ce92324e
--- /dev/null
+++ b/misc/shc/distinfo
@@ -0,0 +1 @@
+MD5 (shc-3.7.tgz) = 49e4054ad39371ea84f7be46cf8d9701
diff --git a/misc/shc/pkg-descr b/misc/shc/pkg-descr
new file mode 100644
index 000000000000..2ed30a65a479
--- /dev/null
+++ b/misc/shc/pkg-descr
@@ -0,0 +1,6 @@
+A generic shell script compiler. Shc takes a script, which is
+specified on the command line and produces c source code. The
+generated source code is then compiled and linked to produce a
+stripped binary executable. Use with care.
+
+WWW: http://www.datsi.fi.upm.es/~frosal/frosal.html
diff --git a/misc/shc/pkg-plist b/misc/shc/pkg-plist
new file mode 100644
index 000000000000..cbfcaa1f7c75
--- /dev/null
+++ b/misc/shc/pkg-plist
@@ -0,0 +1 @@
+bin/shc