Subject: pkg/17038: tweak sysutils/rox
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 05/26/2002 17:53:34
>Number:         17038
>Category:       pkg
>Synopsis:       tweak sysutils/rox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 02:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rui-Xiang Guo
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD hive.u2online 1.5ZC NetBSD 1.5ZC (HIVE) #0: Sat May 18 11:39:56 CST 2002 rxg@hive.u2online:/usr/src/sys/arch/i386/compile/HIVE i386
Architecture: i386
Machine: i386
>Description:
	tweak sysutils/rox to be compatible with HIER(7).
>How-To-Repeat:
	1. fix the Makefile with fhis:
--- /usr/pkgsrc/sysutils/rox/Makefile   Sat May 11 19:56:07 2002
+++ Makefile    Sun May 26 11:59:07 2002
@@ -2,6 +2,7 @@
 #
 
 DISTNAME=      rox-1.2.0
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=rox/}
 EXTRACT_SUFX=  .tgz
@@ -14,12 +15,13 @@
 
 DIST_SUBDIR=   rox
 
+USE_BUILDLINK_ONLY=    yes
 GNU_CONFIGURE= yes
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/ROX-Filer/src
 
 post-patch:
-       ${SED} -e "s:APPDIR:"${PREFIX}/apps":g" < ${FILESDIR}/rox > \
+       ${SED} -e "s:APPDIR:"${PREFIX}/share/rox":g" < ${FILESDIR}/rox > \
                ${WRKDIR}/${DISTNAME}/rox
 
 post-build:
@@ -30,8 +32,8 @@
        ${RM} -rf ${WRKSRC}
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/apps
-       ${CP} -Rf ${WRKDIR}/${DISTNAME}/ROX-Filer ${PREFIX}/apps
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/rox
+       ${CP} -Rf ${WRKDIR}/${DISTNAME}/ROX-Filer ${PREFIX}/share/rox
        ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/rox ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/rox.1 ${PREFIX}/man/man1
 
	2. use this new PLIST file:
@comment $NetBSD$
bin/rox
man/man1/rox.1
share/rox/ROX-Filer/Action.png
share/rox/ROX-Filer/AppIcon.xpm
share/rox/ROX-Filer/AppInfo.xml
share/rox/ROX-Filer/AppRun
share/rox/ROX-Filer/Help/COPYING
share/rox/ROX-Filer/Help/Changes
share/rox/ROX-Filer/Help/Manual-fr.html
share/rox/ROX-Filer/Help/Manual.html
share/rox/ROX-Filer/Help/README
share/rox/ROX-Filer/Help/README-es
share/rox/ROX-Filer/Help/TODO
share/rox/ROX-Filer/Messages/README
share/rox/ROX-Filer/Messages/de.gmo
share/rox/ROX-Filer/Messages/fr.gmo
share/rox/ROX-Filer/Messages/hu.gmo
share/rox/ROX-Filer/Messages/it.gmo
share/rox/ROX-Filer/Messages/nl.gmo
share/rox/ROX-Filer/Messages/pl.gmo
share/rox/ROX-Filer/Messages/ru.gmo
share/rox/ROX-Filer/Messages/sp.gmo
share/rox/ROX-Filer/Options.xml
share/rox/ROX-Filer/ROX-Filer
share/rox/ROX-Filer/Styles
share/rox/ROX-Filer/pixmaps/application.xpm
share/rox/ROX-Filer/pixmaps/close.xpm
share/rox/ROX-Filer/pixmaps/details.xpm
share/rox/ROX-Filer/pixmaps/dirs.xpm
share/rox/ROX-Filer/pixmaps/error.xpm
share/rox/ROX-Filer/pixmaps/help.xpm
share/rox/ROX-Filer/pixmaps/hidden.xpm
share/rox/ROX-Filer/pixmaps/home.xpm
share/rox/ROX-Filer/pixmaps/mount.xpm
share/rox/ROX-Filer/pixmaps/mounted.xpm
share/rox/ROX-Filer/pixmaps/multiple.xpm
share/rox/ROX-Filer/pixmaps/refresh.xpm
share/rox/ROX-Filer/pixmaps/symlink.xpm
share/rox/ROX-Filer/pixmaps/unknown.xpm
share/rox/ROX-Filer/pixmaps/up.xpm
share/rox/ROX-Filer/pixmaps/zoom.xpm
share/rox/ROX-Filer/style.css
@dirrm share/rox/ROX-Filer/pixmaps
@dirrm share/rox/ROX-Filer/Messages
@dirrm share/rox/ROX-Filer/Help
@dirrm share/rox/ROX-Filer
@dirrm share/rox

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: