1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/lua-pty/Makefile
Jason Unovitch 7a95c35f68 devel/lua-pty: Add extra MASTER_SITE and pass maintainer to submitter
PR:		197401
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com>
Approved by:	pgollucci (mentor)
2015-09-02 03:08:52 +00:00

36 lines
956 B
Makefile

# Created by: Andrew Turner <andrew+ports@fubar.geek.nz>
# $FreeBSD$
PORTNAME= pty
PORTVERSION= 1.25
CATEGORIES= devel
MASTER_SITES= https://raw.githubusercontent.com/nuclewall/bsdinstaller/${COMMIT}/src/lib/lua/pty/ \
http://BSDforge.com/projects/source/devel/lua-pty/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
DISTFILES= pty.lua pty.c
DIST_SUBDIR= lua-${PORTNAME}-${COMMIT}
MAINTAINER= portmaster@BSDforge.com
COMMENT= Pty (pseudo-terminal) bindings for Lua 5
USES= lua:51
COMMIT= 8323bb9
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ENV= VPATH=${_DISTDIR}
NO_WRKSUBDIR= yes
PLIST_FILES= %%LUA_MODSHAREDIR%%/pty.lua \
%%LUA_MODLIBDIR%%/lpty.so
do-extract:
${CP} -p ${_DISTFILES:S|^|${_DISTDIR}/|} ${WRKSRC}/
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${STAGEDIR}${LUA_MODLIBDIR}
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
${INSTALL_DATA} ${WRKSRC}/pty.lua ${STAGEDIR}${LUA_MODSHAREDIR}
.include <bsd.port.mk>