openbsd-ports/mail/metamail/patches/patch-fonts_Makefile
pvalchev 653d63b9e7 - getc() returns an int, not a char
- Rename patches with update-patches while here
2002-02-20 21:18:02 +00:00

25 lines
1.0 KiB
Plaintext

$OpenBSD: patch-fonts_Makefile,v 1.1 2002/02/20 21:18:02 pvalchev Exp $
--- fonts/Makefile.orig Mon May 31 14:49:27 1993
+++ fonts/Makefile Wed Feb 20 14:06:43 2002
@@ -28,12 +28,18 @@ heb8x13B.${FONTSUFFIX}: heb8x13B.bdf
-${DIRBUILDER}
shownonascii: Xshownonascii
- sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xshownonascii > shownonascii
+ 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@`pwd`@ < Xmailto-hebrew > mailto-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