ports/105888: Update port: x11/ipager moved to LOCALBASE, fixed building with non-standard X11BASE
Vlad V. Teterya
vlad at vlad.uz.ua
Sun Nov 26 22:01:57 UTC 2006
>Number: 105888
>Category: ports
>Synopsis: Update port: x11/ipager moved to LOCALBASE, fixed building with non-standard X11BASE
>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: Sun Nov 26 22:00:28 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list