diff options
author | Philip Paeps <philip@FreeBSD.org> | 2006-12-05 22:51:12 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2006-12-05 22:51:12 +0000 |
commit | 463177d875fdc8a962404d4bb9f13030d5ea8b26 (patch) | |
tree | 434fb08852bdff09c2c5942a2841697de81f10ab /devel/lua50-pty | |
parent | 7a52d004a07218675363f2ec795880f9c31ef59a (diff) | |
download | ports-463177d875fdc8a962404d4bb9f13030d5ea8b26.tar.gz ports-463177d875fdc8a962404d4bb9f13030d5ea8b26.zip |
Add devel/lua-pty to work with Lua 5.0 and Lua 5.1 and turn devel/lua50-pty
into a slave port of it.
PR: ports/106347
Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
Repocopy by: marcus
Notes
Notes:
svn path=/head/; revision=178983
Diffstat (limited to 'devel/lua50-pty')
-rw-r--r-- | devel/lua50-pty/Makefile | 33 | ||||
-rw-r--r-- | devel/lua50-pty/distinfo | 6 | ||||
-rw-r--r-- | devel/lua50-pty/files/Makefile | 11 |
3 files changed, 2 insertions, 48 deletions
diff --git a/devel/lua50-pty/Makefile b/devel/lua50-pty/Makefile index 0ee1db962e74..6d243c4b9ea3 100644 --- a/devel/lua50-pty/Makefile +++ b/devel/lua50-pty/Makefile @@ -5,37 +5,8 @@ # $FreeBSD$ # -PORTNAME= pty -PORTVERSION= 1.25 -CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= philip -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} -DISTFILES= pty.lua?rev=1.2 pty.c?rev=1.25 - -MAINTAINER= andrew+ports@fubar.geek.nz -COMMENT= Pty (pseudo-terminal) bindings for Lua 5.0.x - -BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:extract - USE_LUA= 5.0 -LUA_COMPS= lua compat51 - -COMPAT_SRC= `(cd ${PORTSDIR}/devel/lua50-compat51 && ${MAKE} -V WRKSRC)` -MAKE_ENV= COMPATDIR="${COMPAT_SRC}" - -PLIST_FILES= %%LUA_MODSHAREDIR%%/pty.lua \ - %%LUA_MODLIBDIR%%/lpty.so - -do-extract: - @${MKDIR} ${WRKSRC} -.for file in ${DISTFILES} - @${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//} -.endfor - @${CP} ${FILESDIR}/Makefile ${WRKSRC} -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${LUA_MODLIBDIR} - ${INSTALL_DATA} ${WRKSRC}/pty.lua ${LUA_MODSHAREDIR} +MASTERDIR= ${.CURDIR}/../lua-pty -.include <bsd.port.mk> +.include "${MASTERDIR}/Makefile" diff --git a/devel/lua50-pty/distinfo b/devel/lua50-pty/distinfo deleted file mode 100644 index 0650f2bdb2ca..000000000000 --- a/devel/lua50-pty/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (pty.lua?rev=1.2) = a28e98428f2feabda7465006939eacea -SHA256 (pty.lua?rev=1.2) = 18f1a623b727a3172b6e16142c057659a76614741a65533a9747034886edcb9a -SIZE (pty.lua?rev=1.2) = 1077 -MD5 (pty.c?rev=1.25) = ec00d34a5f613b9c55a66345dd6c390d -SHA256 (pty.c?rev=1.25) = f8ce982883ba917abeab623ca63e07aafb05d2820fe35e5d8563caf579240af1 -SIZE (pty.c?rev=1.25) = 9264 diff --git a/devel/lua50-pty/files/Makefile b/devel/lua50-pty/files/Makefile deleted file mode 100644 index e6a0fb23c49f..000000000000 --- a/devel/lua50-pty/files/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ - -SHLIB= pty -SHLIB_NAME= lpty.so - -SRCS= pty.c ${COMPATDIR}/compat-5.1.c - -CFLAGS+= -I${LUA_INCDIR} -LDFLAGS+= -L/usr/lib -lutil - -.include <bsd.lib.mk> |