ports/99241: Maintainer Update: devel/lua50-pty
Andrew Turner
andrew+ports at fubar.geek.nz
Wed Jun 21 09:30:18 UTC 2006
>Number: 99241
>Category: ports
>Synopsis: Maintainer Update: devel/lua50-pty
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 21 09:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Andrew Turner
>Release: FreeBSD 6.1-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD hermies.int.fubar.geek.nz 6.1-STABLE FreeBSD 6.1-STABLE #4: Mon May 29 13:29:21 NZST 2006 root at hermies.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_6/sys/MINIMAL i386
>Description:
The attached patch will:
Use PKGNAMEPREFIX
Use MASTER_SITE_LOCAL
Replace pre-install with do-install
>How-To-Repeat:
>Fix:
--- port-devel-lua50pty-2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /cvsroot/ports/devel/lua50-pty/Makefile,v
retrieving revision 1.2
diff -u -3 -p -r1.2 Makefile
--- Makefile 3 May 2006 13:25:05 -0000 1.2
+++ Makefile 20 Jun 2006 22:24:10 -0000
@@ -5,10 +5,12 @@
# $FreeBSD: ports/devel/lua50-pty/Makefile,v 1.2 2006/05/03 13:25:05 pav Exp $
#
-PORTNAME= lua50-pty
+PORTNAME= pty
PORTVERSION= 1.25
CATEGORIES= devel
-MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/pty/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= philip
+PKGNAMEPREFIX= lua50-
DISTFILES= pty.lua?rev=1.2 pty.c?rev=1.25
MAINTAINER= andrew+ports at fubar.geek.nz
@@ -19,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/lua.
RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 \
${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51
-LIBDIR= ${PREFIX}/lib/lua/5.0
COMPAT_SRC= `(cd ${PORTSDIR}/devel/lua50-compat51 && make -V WRKSRC)`
do-extract:
@@ -32,8 +33,9 @@ do-extract:
post-patch:
@${REINPLACE_CMD} -e "s|%%COMPATDIR%%|${COMPAT_SRC}|" ${WRKSRC}/Makefile
-pre-install:
- ${MKDIR} ${LIBDIR}
+do-install:
+ ${MKDIR} ${PREFIX}/lib/lua/5.0
+ ${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${PREFIX}/lib/lua/5.0
${MKDIR} ${PREFIX}/share/lua/5.0
${INSTALL_DATA} ${WRKSRC}/pty.lua ${PREFIX}/share/lua/5.0
--- port-devel-lua50pty-2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list