summaryrefslogtreecommitdiff
path: root/sysutils/shc/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-09-30 09:41:49 +0000
committergrant <grant@pkgsrc.org>2004-09-30 09:41:49 +0000
commit124465c371f71bd3fdb02baadc09a527e09eb621 (patch)
tree171b08f5ad294db4eac1be26b233f1725b1e6b38 /sysutils/shc/Makefile
parented5f2a34cda64199b35c1d8b7c43d0e3fef70f39 (diff)
downloadpkgsrc-124465c371f71bd3fdb02baadc09a527e09eb621.tar.gz
Initial import of shc-3.7 into the NetBSD packages collection.
shc creates a stripped binary executable version of a shell script. shc itself is not a compiler such as cc, but rather it encodes and encrypts a shell script and generates C source code with the added expiration capability. It then uses the system compiler to compile a stripped binary which behaves exactly like the original script. Upon execution, the compiled binary will decrypt and execute the code with the shell -c option.
Diffstat (limited to 'sysutils/shc/Makefile')
-rw-r--r--sysutils/shc/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/shc/Makefile b/sysutils/shc/Makefile
new file mode 100644
index 00000000000..44fd52740b9
--- /dev/null
+++ b/sysutils/shc/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/30 09:41:49 grant Exp $
+#
+
+DISTNAME= shc-3.7
+CATEGORIES= sysutils
+MASTER_SITES= http://www.datsi.fi.upm.es/~frosal/sources/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.datsi.fi.upm.es/~frosal/
+COMMENT= Shell script to C compiler
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/shc ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/shc.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"