aboutsummaryrefslogtreecommitdiff
path: root/devel/lua50-pty/Makefile
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2006-12-05 22:51:12 +0000
committerPhilip Paeps <philip@FreeBSD.org>2006-12-05 22:51:12 +0000
commit463177d875fdc8a962404d4bb9f13030d5ea8b26 (patch)
tree434fb08852bdff09c2c5942a2841697de81f10ab /devel/lua50-pty/Makefile
parent7a52d004a07218675363f2ec795880f9c31ef59a (diff)
downloadports-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/Makefile')
-rw-r--r--devel/lua50-pty/Makefile33
1 files changed, 2 insertions, 31 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"