From vlad@zeon.ein.uz.ua  Sun Nov 26 21:30:59 2006
Return-Path: <vlad@zeon.ein.uz.ua>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5786F16A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Nov 2006 21:30:59 +0000 (UTC)
	(envelope-from vlad@zeon.ein.uz.ua)
Received: from zeon.ein.uz.ua (zeon.ein.uz.ua [194.88.152.131])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8F69243E07
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Nov 2006 21:27:41 +0000 (GMT)
	(envelope-from vlad@zeon.ein.uz.ua)
Received: from zeon.ein.uz.ua (localhost.ein.uz.ua [127.0.0.1])
	by zeon.ein.uz.ua (8.13.4/8.13.4) with ESMTP id kAQLRer4030413
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Nov 2006 23:27:40 +0200 (EET)
	(envelope-from vlad@zeon.ein.uz.ua)
Received: (from root@localhost)
	by zeon.ein.uz.ua (8.13.4/8.13.4/Submit) id kAQLRYt7030412;
	Sun, 26 Nov 2006 23:27:34 +0200 (EET)
	(envelope-from vlad)
Message-Id: <200611262127.kAQLRYt7030412@zeon.ein.uz.ua>
Date: Sun, 26 Nov 2006 23:27:34 +0200 (EET)
From: "Vlad V. Teterya" <vlad@vlad.uz.ua>
Reply-To: "Vlad V. Teterya" <vlad@vlad.uz.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: x11/ipager moved to LOCALBASE, fixed building with non-standard X11BASE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         105887
>Category:       ports
>Synopsis:       Update port: x11/ipager moved to LOCALBASE, fixed building with non-standard X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 26 21:40:05 GMT 2006
>Closed-Date:    Mon Nov 27 13:47:50 GMT 2006
>Last-Modified:  Mon Nov 27 13:47:50 GMT 2006
>Originator:     Vlad V. Teterya
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
TrioSoft
>Environment:
System: FreeBSD zeon.ein.uz.ua 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue Aug 1 12:21:40 EEST 2006 root@zeon.ein.uz.ua:/usr/src/sys/i386/compile/ZEON i386

>Description:
x11/ipager moved to LOCALBASE, fixed building with non-standard X11BASE

>How-To-Repeat:
>Fix:

--- IPAGER begins here ---
diff -ruN ipager.old/Makefile ipager/Makefile
--- ipager.old/Makefile	Mon Jun  5 23:49:20 2006
+++ ipager/Makefile	Sun Nov 26 04:51:51 2006
@@ -2,11 +2,12 @@
 # Date created:				22 Mar 2006
 # Whom:					Vlad V. Teterya <vlad@vlad.uz.ua>
 #
-# $FreeBSD: ports/x11/ipager/Makefile,v 1.2 2006/06/05 20:49:20 pav Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	ipager
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://useperl.ru/ipager/src/
 DISTNAME=	ipager-${PORTVERSION}
@@ -14,10 +15,9 @@
 MAINTAINER=	vlad@vlad.uz.ua
 COMMENT=	X11 pager program
 
-BUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
 LIB_DEPENDS+=	Imlib2.3:${PORTSDIR}/graphics/imlib2
 
-USE_X_PREFIX=	yes
+USE_SCONS=	yes
 
 PLIST_FILES=	bin/ipager \
 		%%DATADIR%%/themes/atlantis.conf \
@@ -43,14 +43,14 @@
 .endif
 
 post-patch:
-	   @${REINPLACE_CMD} -e 's|/usr/local|${X11BASE}|' \
+		@${REINPLACE_CMD} -e '35,36d;89d;92,94d' \
 			${WRKSRC}/SConstruct
 
 do-build:
-	   @cd ${WRKSRC} && scons
+	   @cd ${WRKSRC} && ${SCONS_BIN}
 
 do-install:
-	   @cd ${WRKSRC} && scons install
+	   @cd ${WRKSRC} && ${SCONS_BIN} ${SCONS_INSTALL_TARGET}
 
 post-install:
 .if !defined (NOPORTDOCS)
@@ -63,7 +63,7 @@
 .for t in ${THEMES}
 	${INSTALL_DATA} ${WRKSRC}/themes/${t} ${DATADIR}/themes
 .endfor
-	${STRIP_CMD} ${X11BASE}/bin/ipager
+	${STRIP_CMD} ${LOCALBASE}/bin/ipager
 
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} ""
--- IPAGER ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Nov 26 22:22:25 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105887 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Nov 27 13:47:48 UTC 2006 
State-Changed-Why:  
duplicatet by 105888 

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