From nobody@FreeBSD.org  Fri Apr 14 19:06:39 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id EE91A37B789
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Apr 2000 19:06:38 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id TAA10151;
	Fri, 14 Apr 2000 19:06:39 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004150206.TAA10151@freefall.freebsd.org>
Date: Fri, 14 Apr 2000 19:06:39 -0700 (PDT)
From: tkato@prontomail.ne.jp
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: graphics/xli
X-Send-Pr-Version: www-1.0

>Number:         18017
>Category:       ports
>Synopsis:       Update port: graphics/xli
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jkoshy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 14 19:10:02 PDT 2000
>Closed-Date:    Mon Apr 17 03:40:49 PDT 2000
>Last-Modified:  Mon Apr 17 03:41:12 PDT 2000
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
Update port: graphics/xli
- Support LOCALBASE properly
- Add WWW: line into pkg/DESCR

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/xli/Makefile graphics/xli/Makefile
--- /usr/ports/graphics/xli/Makefile	Sat Apr 15 00:25:48 2000
+++ graphics/xli/Makefile	Sat Apr 15 00:34:43 2000
@@ -20,4 +20,7 @@
 USE_IMAKE=	yes
 MAN1=		xli.1 xlito.1
 
+post-patch:
+	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile
+
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/xli/patches/patch-aa graphics/xli/patches/patch-aa
--- /usr/ports/graphics/xli/patches/patch-aa	Thu Feb 10 18:32:32 2000
+++ graphics/xli/patches/patch-aa	Thu Apr 13 05:00:06 2000
@@ -1,13 +1,13 @@
 --- Imakefile--	Wed Feb  9 09:23:32 2000
-+++ Imakefile	Thu Feb 10 18:38:21 2000
++++ Imakefile	Thu Apr 13 00:59:16 2000
 @@ -12,8 +12,8 @@
        CCOPTIONS = -Aa -D_HPUX_SOURCE
  #endif
  
 -JPEG_INCLUDES = 
 -JPEG_LDFLAGS = 
-+JPEG_INCLUDES = -I/usr/local/include
-+JPEG_LDFLAGS = -L/usr/local/lib
++JPEG_INCLUDES = -I%%LOCALBASE%%/include
++JPEG_LDFLAGS = -L%%LOCALBASE%%/lib
  
  PNG_INCLUDES = 
  PNG_LDFLAGS = 
diff -urN /usr/ports/graphics/xli/pkg/DESCR graphics/xli/pkg/DESCR
--- /usr/ports/graphics/xli/pkg/DESCR	Fri Nov 25 06:56:47 1994
+++ graphics/xli/pkg/DESCR	Thu Apr 13 05:03:56 2000
@@ -1,4 +1,4 @@
-xli, xsetbg and xsetbg (the last two are symlinks to the first one)
+xli, xlito and xsetbg (the last two are symlinks to the first one)
 display images on X11.
 
 xlito works with xloadimage to "mark" images.  Take a look at the
@@ -6,6 +6,8 @@
 xloadimage if it's not there but I didn't include it in the packing
 list so it won't clobber an existing one if xloadimage is already
 installed.
+
+WWW: http://pantransit.reptiles.org/prog/index.html#xli
 
 - Satoshi
 asami@cs.berkeley.edu


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jkoshy 
Responsible-Changed-By: knu 
Responsible-Changed-When: Sun Apr 16 20:32:42 JST 2000 
Responsible-Changed-Why:  
OVer to MAINTAINER 
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Mon Apr 17 03:40:49 PDT 2000 
State-Changed-Why:  
Patch committed, thanks! 
>Unformatted:
