Subject: Re: pkg/17038: tweak sysutils/rox
To: None <gnats-bugs@gnats.netbsd.org>
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 05/26/2002 21:02:47
And let rox use gtk2, please reference this:
--- /usr/pkgsrc/sysutils/rox/Makefile Sat May 11 19:56:07 2002
+++ Makefile Sun May 26 20:49:50 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,14 @@
DIST_SUBDIR= rox
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gtk2
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,12 +33,12 @@
${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
-.include "../../graphics/gdk-pixbuf/buildlink.mk"
-.include "../../textproc/libxml/buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../x11/gtk2/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
All other rox-* pkgs already depend on gtk2 and use new dir ${PREFIX}/share/rox.