From nobody@FreeBSD.org  Wed Jun 21 09:24:24 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A2AD916A47C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Jun 2006 09:24:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EAAA443D55
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Jun 2006 09:24:23 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5L9ONb9075409
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Jun 2006 09:24:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k5L9ONUi075407;
	Wed, 21 Jun 2006 09:24:23 GMT
	(envelope-from nobody)
Message-Id: <200606210924.k5L9ONUi075407@www.freebsd.org>
Date: Wed, 21 Jun 2006 09:24:23 GMT
From: Andrew Turner <andrew+ports@fubar.geek.nz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Maintainer Update: devel/lua50-pty
X-Send-Pr-Version: www-2.3

>Number:         99241
>Category:       ports
>Synopsis:       Maintainer Update: devel/lua50-pty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    philip
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 21 09:30:16 GMT 2006
>Closed-Date:    Fri Jun 23 16:05:45 GMT 2006
>Last-Modified:  Fri Jun 23 16:05:45 GMT 2006
>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@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->philip 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 21 09:32:12 UTC 2006 
Responsible-Changed-Why:  
philip@ wants to have LUA PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99241 
State-Changed-From-To: open->closed 
State-Changed-By: philip 
State-Changed-When: Fri Jun 23 16:05:43 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99241 
>Unformatted:
