pkgsrc/mail/metamail/patches/patch-ad
1998-08-07 11:08:53 +00:00

37 lines
1.3 KiB
Text

$NetBSD: patch-ad,v 1.2 1998/08/07 11:09:40 agc Exp $
*** fonts/Makefile.orig Mon May 31 22:49:27 1993
--- fonts/Makefile Thu May 18 21:55:42 1995
***************
*** 28,39 ****
-${DIRBUILDER}
shownonascii: Xshownonascii
! sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xshownonascii > shownonascii
chmod +x shownonascii
mailto-hebrew: Xmailto-hebrew
! sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xmailto-hebrew > mailto-hebrew
chmod +x mailto-hebrew
clean:
rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} shownonascii mailto-hebrew fonts.dir
--- 28,45 ----
-${DIRBUILDER}
shownonascii: Xshownonascii
! sed -e s@/u/nsb/lib/fonts@${PREFIX}/lib/metamail/fonts@ < Xshownonascii > shownonascii
chmod +x shownonascii
mailto-hebrew: Xmailto-hebrew
! sed -e s@/u/nsb/lib/fonts@${PREFIX}/lib/metamail/fonts@ < Xmailto-hebrew > mailto-hebrew
chmod +x mailto-hebrew
+
+ install:
+ mkdir -p ${PREFIX}/lib/metamail/fonts
+ install -c heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} \
+ heb8x13B.${FONTSUFFIX} fonts.alias ${PREFIX}/lib/metamail/fonts
+ if [ -d /usr/X11R6 ]; then mkfontdir ${PREFIX}/lib/metamail/fonts ; fi
clean:
rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} shownonascii mailto-hebrew fonts.dir