summaryrefslogtreecommitdiff
path: root/mail/metamail/patches/patch-ad
blob: f9281ea88ffbf40fca44ef54edfe236e869a66f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ad,v 1.7 2006/09/16 15:29:36 hira Exp $

--- fonts/Makefile.orig	1993-05-31 15:49:27.000000000 -0500
+++ fonts/Makefile	2006-07-20 21:39:41.000000000 -0500
@@ -10,7 +10,7 @@
 #FONTSUFFIX=fb
 #DIRBUILDER=bldfamily
 
-all: shownonascii heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} mailto-hebrew
+all: shownonascii mailto-hebrew
 
 heb6x13.${FONTSUFFIX}: heb6x13.bdf
 #	convertfont -o heb6x13 heb6x13.bdf
@@ -28,12 +28,12 @@
 	-${DIRBUILDER}
 
 shownonascii: Xshownonascii
-	sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xshownonascii > shownonascii
-	chmod +x shownonascii
+	${SED} -e s@/u/nsb/lib/fonts@${PREFIX}/share/fonts@ < 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
+	${SED} -e s@/u/nsb/lib/fonts@${PREFIX}/share/fonts@ < Xmailto-hebrew > mailto-hebrew
+	${CHMOD} +x mailto-hebrew
 
 clean:
 	rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX}  shownonascii mailto-hebrew fonts.dir