Date: Sun, 21 Mar 1999 23:14:34 +0900 From: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> To: freebsd-ports@FreeBSD.ORG, lukin@okbmei.msk.su Subject: Add Files.ad in x11-fm/asfiles ? Message-ID: <19990321231434L.kiri@pis.toba-cmt.ac.jp>
next in thread | raw e-mail | index | archive | help
----Next_Part(Sun_Mar_21_23:14:32_1999_179)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi. x11-fm/asfiles does not contain resource file src/Files.ad. Would you add Files.ad to x11-fm/asfiles? Regards. --- KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> ----Next_Part(Sun_Mar_21_23:14:32_1999_179)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: asfiles-1.0-990321.diff Content-Disposition: attachment; filename=asfiles-1.0-990321.diff diff -u -r -x CVS -x work -x *~ -x *.orig -N -I ^# *\$Id.*$ /usr/ports/current/x11-fm/asfiles/Makefile ./Makefile --- /usr/ports/current/x11-fm/asfiles/Makefile Tue Mar 16 02:40:13 1999 +++ ./Makefile Sun Mar 21 22:50:34 1999 @@ -21,5 +20,11 @@ USE_X_PREFIX= yes MAN1= files.1 MAN3= regexp.3 + +post-install: + ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-aa + ${INSTALL_DATA} ${WRKSRC}/src/Files.ad ${PREFIX}/lib/X11/app-defaults/ + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + ${MV} ${WRKSRC}/src/Files.ad.orig ${WRKSRC}/src/Files.ad .include <bsd.port.mk> diff -u -r -x CVS -x work -x *~ -x *.orig -N -I ^# *\$Id.*$ /usr/ports/current/x11-fm/asfiles/files/patch-aa ./files/patch-aa --- /usr/ports/current/x11-fm/asfiles/files/patch-aa Thu Jan 1 09:00:00 1970 +++ ./files/patch-aa Sun Mar 21 21:32:36 1999 @@ -0,0 +1,19 @@ +--- src/Files.ad.orig Mon Apr 21 12:55:17 1997 ++++ src/Files.ad Sun Mar 21 21:29:33 1999 +@@ -5,13 +5,13 @@ + !*********************************************************************** + + ! Search paths for icon files +-Files*bitmapPath: /usr/local/include/bitmaps +-Files*pixmapPath: /usr/local/include/pixmaps:/usr/X11/lib/X11/afterstep/icons ++Files*bitmapPath: %%PREFIX%%/include/bitmaps ++Files*pixmapPath: %%PREFIX%%/include/pixmaps:%%PREFIX%%/include/X11/pixmaps + ! A pixmap for the background + !Files*icon box*backgroundPixmap: /usr/local/pixmaps/Files_back.xpm + + ! System-wide Configuration file +-Files*configFile: /usr/local/lib/OffiX/Filesrc ++Files*configFile: %%PREFIX%%/share/OffiX/Filesrc + + ! Double click time in milliseconds + Files*doubleClickTime: 300 diff -u -r -x CVS -x work -x *~ -x *.orig -N -I ^# *\$Id.*$ /usr/ports/current/x11-fm/asfiles/pkg/INSTALL ./pkg/INSTALL --- /usr/ports/current/x11-fm/asfiles/pkg/INSTALL Thu Jan 1 09:00:00 1970 +++ ./pkg/INSTALL Sun Mar 21 21:40:08 1999 @@ -0,0 +1,7 @@ +#!/bin/sh + +ADDIR=${PKG_PREFIX}/lib/X11/app-defaults + +if [ X"$2" = "XPOST-INSTALL" ]; then + perl -pe 's/%%PREFIX%%/$ENV{PKG_PREFIX}/g' ${ADDIR}/Files.ad > ${ADDIR}/Files +fi diff -u -r -x CVS -x work -x *~ -x *.orig -N -I ^# *\$Id.*$ /usr/ports/current/x11-fm/asfiles/pkg/PLIST ./pkg/PLIST --- /usr/ports/current/x11-fm/asfiles/pkg/PLIST Sun Jan 3 19:13:05 1999 +++ ./pkg/PLIST Sun Mar 21 21:07:39 1999 @@ -220,6 +220,8 @@ include/pixmaps/Workshop.xpm include/pixmaps/interface.xpm include/pixmaps/PDFOmni.xpm +lib/X11/app-defaults/Files.ad +@unexec rm -rf %B/Files share/OffiX/FilesMagic share/OffiX/Filesrc @dirrm share/OffiX diff -u -r -x CVS -x work -x *~ -x *.orig -N -I ^# *\$Id.*$ /usr/ports/current/x11-fm/asfiles/scripts/post-configure ./scripts/post-configure --- /usr/ports/current/x11-fm/asfiles/scripts/post-configure Thu Jan 1 09:00:00 1970 +++ ./scripts/post-configure Sun Mar 21 21:45:19 1999 @@ -0,0 +1,7 @@ +#!/bin/sh + +dirs=". src src/bitmaps src/pixmaps src/external src/regexp pixmaps bitmaps" + +for d in ${dirs}; do + perl -pi -e 's@^(prefix[ \t]*=).*$@$1\${PREFIX}@' ${WRKSRC}/${d}/Makefile +done ----Next_Part(Sun_Mar_21_23:14:32_1999_179)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990321231434L.kiri>