pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add the execline scripting language as wip/execline.



Module Name:	pkgsrc-wip
Committed By:	Christian Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sat Mar 5 20:54:02 2016 -0800
Changeset:	8701d098b055a33d2ae2a26461a79fab65c1b2ab

Modified Files:
	Makefile
Added Files:
	execline/DESCR
	execline/Makefile
	execline/PLIST
	execline/buildlink3.mk
	execline/distinfo

Log Message:
Add the execline scripting language as wip/execline.

execline is a (non-interactive) scripting language, like sh, but its syntax
is quite different from a traditional shell syntax.  The execlineb program
is meant to be used as an interpreter for a text file; the other commands
are essentially useful inside an execlineb script.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8701d098b055a33d2ae2a26461a79fab65c1b2ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 execline/DESCR         |  4 ++++
 execline/Makefile      | 20 ++++++++++++++++++++
 execline/PLIST         | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 execline/buildlink3.mk | 14 ++++++++++++++
 execline/distinfo      |  6 ++++++
 6 files changed, 95 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ce620b8..8228c6f 100644
--- a/Makefile
+++ b/Makefile
@@ -671,6 +671,7 @@ SUBDIR+=	evolution-rss
 SUBDIR+=	evolution-tray
 SUBDIR+=	ewl
 SUBDIR+=	exact-image
+SUBDIR+=	execline
 SUBDIR+=	exhume
 SUBDIR+=	expiretable
 SUBDIR+=	extra-cmake-modules
diff --git a/execline/DESCR b/execline/DESCR
new file mode 100644
index 0000000..b400712
--- /dev/null
+++ b/execline/DESCR
@@ -0,0 +1,4 @@
+execline is a (non-interactive) scripting language, like sh, but its syntax
+is quite different from a traditional shell syntax.  The execlineb program
+is meant to be used as an interpreter for a text file; the other commands
+are essentially useful inside an execlineb script.
diff --git a/execline/Makefile b/execline/Makefile
new file mode 100644
index 0000000..a37b267
--- /dev/null
+++ b/execline/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	execline-2.1.4.5
+CATEGORIES=	devel
+MASTER_SITES=	http://skarnet.org/software/execline/
+LICENSE=	isc
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+COMMENT=	The execline scripting language
+HOMEPAGE=	http://skarnet.org/software/execline/
+
+USE_TOOLS+=		gmake
+HAS_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
+CONFIGURE_ARGS+=	--with-lib=${PREFIX}/lib/skalibs
+CONFIGURE_ARGS+=	--with-include=${PREFIX}/include
+
+.include "../../wip/skalibs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/execline/PLIST b/execline/PLIST
new file mode 100644
index 0000000..e58502e
--- /dev/null
+++ b/execline/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD$
+bin/background
+bin/backtick
+bin/cd
+bin/define
+bin/dollarat
+bin/elgetopt
+bin/elgetpositionals
+bin/elglob
+bin/emptyenv
+bin/exec
+bin/execlineb
+bin/exit
+bin/export
+bin/fdblock
+bin/fdclose
+bin/fdmove
+bin/fdreserve
+bin/fdswap
+bin/forbacktickx
+bin/foreground
+bin/forstdin
+bin/forx
+bin/getcwd
+bin/getpid
+bin/heredoc
+bin/homeof
+bin/if
+bin/ifelse
+bin/ifte
+bin/ifthenelse
+bin/import
+bin/importas
+bin/loopwhilex
+bin/multidefine
+bin/multisubstitute
+bin/pipeline
+bin/piperw
+bin/redirfd
+bin/runblock
+bin/shift
+bin/trap
+bin/tryexec
+bin/umask
+bin/unexport
+bin/wait
+bin/withstdinas
+include/execline/config.h
+include/execline/execline.h
+lib/execline/libexecline.a
diff --git a/execline/buildlink3.mk b/execline/buildlink3.mk
new file mode 100644
index 0000000..f951086
--- /dev/null
+++ b/execline/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	execline
+
+.if !defined(EXECLINE_BUILDLINK3_MK)
+EXECLINE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.execline+=	execline>=2.1.4.5
+BUILDLINK_PKGSRCDIR.execline?=		../../wip/execline
+
+.include "../../wip/skalibs/buildlink3.mk"
+.endif # EXECLINE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-execline
diff --git a/execline/distinfo b/execline/distinfo
new file mode 100644
index 0000000..c87cc52
--- /dev/null
+++ b/execline/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (execline-2.1.4.5.tar.gz) = 7ce03b04d40cef9a99b2d93e826b10d9059c642f
+RMD160 (execline-2.1.4.5.tar.gz) = 495ff39b1e62a1a517894e6dcd575fcda8fac14c
+SHA512 (execline-2.1.4.5.tar.gz) = 15a76c73afe98142b9f466edb442cad06ee69f0f0e15ad6a325c37f3878b4c5863b5cece67bd169e84b465a0f7f4f38f87fa88b2aa96fe40a20ebc3575a1ceb9
+Size (execline-2.1.4.5.tar.gz) = 80203 bytes


Home | Main Index | Thread Index | Old Index