1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/metamail/files/patch-fonts_Makefile
Erwin Lansing 78dee16f38 make package would fail when /usr/X11R6 not present (guess)
Testing for /usr/X11R6 is unnecessary because this part is only done
if WITHOUT_X11 is undefined

PR:		124356
Submitted by:	Jean-Francois Dockes <jean-francois.dockes@wanadoo.fr> <maintainer>
2008-06-16 05:41:38 +00:00

24 lines
899 B
Plaintext

--- fonts/Makefile.orig Mon May 31 22:49:27 1993
+++ fonts/Makefile Mon Dec 18 11:46:21 2006
@@ -28,12 +28,18 @@
-${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
+ mkfontdir ${PREFIX}/lib/metamail/fonts
clean:
rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} shownonascii mailto-hebrew fonts.dir