aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2015-03-10 12:57:25 +0800
committermi <mi@FreeBSD.org>2015-03-10 12:57:25 +0800
commit27adaa935049c1dc9b809f64f21612debdc3520a (patch)
tree657fd67437fbc8539c8e93b3ff31bba2a8f84030
parentad8a70b67382b0c9b73c70a3277c7830d8722be4 (diff)
downloadfreebsd-ports-gnome-27adaa935049c1dc9b809f64f21612debdc3520a.tar.gz
freebsd-ports-gnome-27adaa935049c1dc9b809f64f21612debdc3520a.tar.zst
freebsd-ports-gnome-27adaa935049c1dc9b809f64f21612debdc3520a.zip
Unbreak by switching to GitHub as MASTER_SITE.
-rw-r--r--devel/lua-pty/Makefile20
-rw-r--r--devel/lua-pty/distinfo10
2 files changed, 13 insertions, 17 deletions
diff --git a/devel/lua-pty/Makefile b/devel/lua-pty/Makefile
index 713359495172..9d3cff7e59bd 100644
--- a/devel/lua-pty/Makefile
+++ b/devel/lua-pty/Makefile
@@ -4,28 +4,26 @@
PORTNAME= pty
PORTVERSION= 1.25
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://files.luaforge.net/releases/compat/Compat-5.1/Compat-5.1release5/:compat
-MASTER_SITE_SUBDIR= philip
+MASTER_SITES= https://raw.githubusercontent.com/nuclewall/bsdinstaller/${GH_COMMIT}/src/lib/lua/pty/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-DISTFILES= pty.lua?rev=1.2 pty.c?rev=1.25
+DISTFILES= pty.lua pty.c
+DIST_SUBDIR= lua-${PORTNAME}-${GH_COMMIT}
MAINTAINER= ports@FreeBSD.org
COMMENT= Pty (pseudo-terminal) bindings for Lua 5
-BROKEN= doesn't fetch
-
USES= lua:51
+GH_COMMIT= 8323bb9
+MAKEFILE= ${FILESDIR}/Makefile
+MAKE_ENV= VPATH=${_DISTDIR}
+NO_WRKSUBDIR= yes
+
PLIST_FILES= %%LUA_MODSHAREDIR%%/pty.lua \
%%LUA_MODLIBDIR%%/lpty.so
do-extract:
- @${MKDIR} ${WRKSRC}
-.for file in ${DISTFILES:C,:.*,,}
- @${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
-.endfor
- @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+ ${CP} -p ${_DISTFILES:S|^|${_DISTDIR}/|} ${WRKSRC}/
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
diff --git a/devel/lua-pty/distinfo b/devel/lua-pty/distinfo
index f44e99c5c857..d39871b4bc54 100644
--- a/devel/lua-pty/distinfo
+++ b/devel/lua-pty/distinfo
@@ -1,6 +1,4 @@
-SHA256 (pty.lua?rev=1.2) = 18f1a623b727a3172b6e16142c057659a76614741a65533a9747034886edcb9a
-SIZE (pty.lua?rev=1.2) = 1077
-SHA256 (pty.c?rev=1.25) = f8ce982883ba917abeab623ca63e07aafb05d2820fe35e5d8563caf579240af1
-SIZE (pty.c?rev=1.25) = 9264
-SHA256 (compat-5.1r5.tar.gz) = 93262ad793552c338b825e6b67c903063aa07625952ef643d126ae60949c8ab6
-SIZE (compat-5.1r5.tar.gz) = 2977
+SHA256 (lua-pty-8323bb9/pty.lua) = 18f1a623b727a3172b6e16142c057659a76614741a65533a9747034886edcb9a
+SIZE (lua-pty-8323bb9/pty.lua) = 1077
+SHA256 (lua-pty-8323bb9/pty.c) = f8ce982883ba917abeab623ca63e07aafb05d2820fe35e5d8563caf579240af1
+SIZE (lua-pty-8323bb9/pty.c) = 9264