aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2006-04-18 01:09:17 +0800
committerphilip <philip@FreeBSD.org>2006-04-18 01:09:17 +0800
commit10790acbdf81407e551c1a1ce9eabe79a024499c (patch)
tree4b3ded71f6d419a6aceaa21b03cef52166696dd6 /devel
parent1efaa3db2e6ea9f67adbec091039287c0ecf252f (diff)
downloadfreebsd-ports-gnome-10790acbdf81407e551c1a1ce9eabe79a024499c.tar.gz
freebsd-ports-gnome-10790acbdf81407e551c1a1ce9eabe79a024499c.tar.zst
freebsd-ports-gnome-10790acbdf81407e551c1a1ce9eabe79a024499c.zip
Add lua50-filename 1.2, filename-manipulating functions for Lua 5.0.x.
PR: ports/95913 Submitted by: Andrew Turner <andrew+ports -at- fubar.geek.nz>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/lua-filename/Makefile27
-rw-r--r--devel/lua-filename/distinfo3
-rw-r--r--devel/lua-filename/pkg-descr3
-rw-r--r--devel/lua-filename/pkg-plist3
-rw-r--r--devel/lua50-filename/Makefile27
-rw-r--r--devel/lua50-filename/distinfo3
-rw-r--r--devel/lua50-filename/pkg-descr3
-rw-r--r--devel/lua50-filename/pkg-plist3
9 files changed, 73 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index aad44af14a7e..9692f3914328 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -571,6 +571,7 @@
SUBDIR += looks
SUBDIR += lrmi
SUBDIR += lua50-compat51
+ SUBDIR += lua50-filename
SUBDIR += lua50-posix
SUBDIR += lua50-pty
SUBDIR += lwp
diff --git a/devel/lua-filename/Makefile b/devel/lua-filename/Makefile
new file mode 100644
index 000000000000..3950ecb5e739
--- /dev/null
+++ b/devel/lua-filename/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: lua50-filename
+# Date created: 17 April 2006
+# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lua50-filename
+PORTVERSION= 1.2
+CATEGORIES= devel
+MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/filename/
+DISTFILES= filename.lua?rev=${PORTVERSION}
+EXTRACT_ONLY=
+
+MAINTAINER= andrew+ports@fubar.geek.nz
+COMMENT= Filename-manipulating functions for Lua 5.0.x
+
+RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/lua/5.0
+ ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${PREFIX}/share/lua/5.0/${DISTFILES:C/\?.*$//}
+
+.include <bsd.port.mk>
diff --git a/devel/lua-filename/distinfo b/devel/lua-filename/distinfo
new file mode 100644
index 000000000000..ca40911362d1
--- /dev/null
+++ b/devel/lua-filename/distinfo
@@ -0,0 +1,3 @@
+MD5 (filename.lua?rev=1.2) = 85157fb0a36a9f2a8b3b6a9f329a1fbe
+SHA256 (filename.lua?rev=1.2) = ff8d2648bf0aa17b8da197afec9f55c01a470e7b4448d19b1233efe879715f1a
+SIZE (filename.lua?rev=1.2) = 2888
diff --git a/devel/lua-filename/pkg-descr b/devel/lua-filename/pkg-descr
new file mode 100644
index 000000000000..1235fd14c6ba
--- /dev/null
+++ b/devel/lua-filename/pkg-descr
@@ -0,0 +1,3 @@
+Package of routines for manipulating filenames.
+Also contains convenience functions for querying the
+status of files in the filesystem named by those filenames.
diff --git a/devel/lua-filename/pkg-plist b/devel/lua-filename/pkg-plist
new file mode 100644
index 000000000000..af8e59d4d461
--- /dev/null
+++ b/devel/lua-filename/pkg-plist
@@ -0,0 +1,3 @@
+share/lua/5.0/filename.lua
+@dirrmtry share/lua/5.0
+@dirrmtry share/lua
diff --git a/devel/lua50-filename/Makefile b/devel/lua50-filename/Makefile
new file mode 100644
index 000000000000..3950ecb5e739
--- /dev/null
+++ b/devel/lua50-filename/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: lua50-filename
+# Date created: 17 April 2006
+# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lua50-filename
+PORTVERSION= 1.2
+CATEGORIES= devel
+MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/filename/
+DISTFILES= filename.lua?rev=${PORTVERSION}
+EXTRACT_ONLY=
+
+MAINTAINER= andrew+ports@fubar.geek.nz
+COMMENT= Filename-manipulating functions for Lua 5.0.x
+
+RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/lua/5.0
+ ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${PREFIX}/share/lua/5.0/${DISTFILES:C/\?.*$//}
+
+.include <bsd.port.mk>
diff --git a/devel/lua50-filename/distinfo b/devel/lua50-filename/distinfo
new file mode 100644
index 000000000000..ca40911362d1
--- /dev/null
+++ b/devel/lua50-filename/distinfo
@@ -0,0 +1,3 @@
+MD5 (filename.lua?rev=1.2) = 85157fb0a36a9f2a8b3b6a9f329a1fbe
+SHA256 (filename.lua?rev=1.2) = ff8d2648bf0aa17b8da197afec9f55c01a470e7b4448d19b1233efe879715f1a
+SIZE (filename.lua?rev=1.2) = 2888
diff --git a/devel/lua50-filename/pkg-descr b/devel/lua50-filename/pkg-descr
new file mode 100644
index 000000000000..1235fd14c6ba
--- /dev/null
+++ b/devel/lua50-filename/pkg-descr
@@ -0,0 +1,3 @@
+Package of routines for manipulating filenames.
+Also contains convenience functions for querying the
+status of files in the filesystem named by those filenames.
diff --git a/devel/lua50-filename/pkg-plist b/devel/lua50-filename/pkg-plist
new file mode 100644
index 000000000000..af8e59d4d461
--- /dev/null
+++ b/devel/lua50-filename/pkg-plist
@@ -0,0 +1,3 @@
+share/lua/5.0/filename.lua
+@dirrmtry share/lua/5.0
+@dirrmtry share/lua