From itetcu@people.tecnik93.com  Tue Mar 21 01:12:37 2006
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E1C0316A401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Mar 2006 01:12:37 +0000 (UTC)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D5A2943D75
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Mar 2006 01:12:31 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (localhost [127.0.0.1])
	by it.buh.tecnik93.com (Postfix) with ESMTP id 6471E17738
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Mar 2006 03:12:30 +0200 (EET)
Message-Id: <1142903550.81850@it.buh.tecnik93.com>
Date: Tue, 21 Mar 2006 03:12:30 +0200
From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [PATCH] x11/xtset: make it PREFIX-clean; portlint
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         94756
>Category:       ports
>Synopsis:       [PATCH] x11/xtset: make it PREFIX-clean; portlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    grog
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 21 01:20:13 GMT 2006
>Closed-Date:    Fri Apr 14 05:49:14 GMT 2006
>Last-Modified:  Fri Apr 14 05:49:14 GMT 2006
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


Attached patch-Makefile.diff make this port PREFIX-clean.
Grog maybe you could apply it and release a new version for this port ?
Else it could be placed as files/patch-Makefile.diff under the port directory
in our CVS tree.

Use MAN1 (and MANCOMPRESSED=yes) to make portlint happy
and remove the file from pkg-plist. Since a single file remains put it in
PLIST_FILES variable and drop pkg-plist entirely.


>How-To-Repeat:





>Fix:


--- xtset.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xtset/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	7 Mar 2003 06:36:20 -0000	1.3
+++ Makefile	21 Mar 2006 00:55:52 -0000
@@ -11,8 +11,13 @@
 MASTER_SITES=	ftp://ftp.lemis.com/pub/
 
 MAINTAINER=	grog@FreeBSD.Org
-COMMENT=	utility to set title on an xterm
+COMMENT=	Utility to set title on an xterm
 
 NO_WRKSUBDIR=	YES
+
+PLIST_FILES=	bin/xtset
+
+MAN1=		xtset.1
+MANCOMPRESSED=	yes
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	9 Mar 2001 01:59:37 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-bin/xtset
-man/man1/xtset.1.gz
--- xtset.diff ends here ---
--- patch-Makefile.diff begins here ---
--- Makefile.dist	Tue Mar 21 02:50:36 2006
+++ Makefile	Tue Mar 21 02:52:28 2006
@@ -1,6 +1,9 @@
+PREFIX?=	/usr/local
+MANPREFIX?=	${PREFIX}
+
 all:	xtset
 
 install: all
-	install -C xtset /usr/local/bin
-	mkdir -p /usr/local/man/man1
-	gzip -c xtset.1 > /usr/local/man/man1/xtset.1.gz
+	install -C xtset ${PREFIX}/bin
+	mkdir -p ${MANPREFIX}/man/man1
+	gzip -c xtset.1 > ${MANPREFIX}/man/man1/xtset.1.gz
--- patch-Makefile.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->grog 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Mar 21 01:24:12 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94756 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Fri Apr 14 05:49:11 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

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