2013-09-20 19:13:42 +02:00
|
|
|
# Created by: Andrew Turner <andrew+ports@fubar.geek.nz>
|
2006-04-17 18:21:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-06-23 18:05:24 +02:00
|
|
|
PORTNAME= pty
|
2006-04-17 18:21:41 +02:00
|
|
|
PORTVERSION= 1.25
|
|
|
|
CATEGORIES= devel
|
2012-06-08 11:16:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://files.luaforge.net/releases/compat/Compat-5.1/Compat-5.1release5/:compat
|
2006-06-23 18:05:24 +02:00
|
|
|
MASTER_SITE_SUBDIR= philip
|
2006-09-15 10:17:11 +02:00
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
2006-04-17 18:21:41 +02:00
|
|
|
DISTFILES= pty.lua?rev=1.2 pty.c?rev=1.25
|
|
|
|
|
2010-04-29 19:27:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-12-05 23:51:12 +01:00
|
|
|
COMMENT= Pty (pseudo-terminal) bindings for Lua 5
|
2006-04-17 18:21:41 +02:00
|
|
|
|
2014-05-26 17:28:28 +02:00
|
|
|
USES= lua:51
|
2006-09-15 10:17:11 +02:00
|
|
|
|
|
|
|
PLIST_FILES= %%LUA_MODSHAREDIR%%/pty.lua \
|
|
|
|
%%LUA_MODLIBDIR%%/lpty.so
|
2006-04-17 18:21:41 +02:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
2012-07-04 08:43:12 +02:00
|
|
|
.for file in ${DISTFILES:C,:.*,,}
|
2006-04-17 18:21:41 +02:00
|
|
|
@${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
|
|
|
|
.endfor
|
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
|
2006-06-23 18:05:24 +02:00
|
|
|
do-install:
|
2014-04-01 10:54:22 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${STAGEDIR}${LUA_MODLIBDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pty.lua ${STAGEDIR}${LUA_MODSHAREDIR}
|
2006-04-17 18:21:41 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|