pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] destdir support for fonts/intlfonts



Patch is here. Please apply it or tell me if it is not good.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/intlfonts/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile    26 May 2008 12:15:14 -0000      1.26
+++ Makefile    15 Nov 2008 19:53:12 -0000
@@ -9,6 +9,8 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Free X11 fonts (BDF format) for all characters that Emacs can 
handle
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 FONT_SETS=     Asian           \
                Chinese         \
                Ethiopic        \
@@ -46,6 +48,8 @@
 CONFIGURE_ARGS+=--with-fontdir=${PREFIX}/lib/X11/fonts/intlfonts \
                --enable-compress=gzip
 
+MAKE_FLAGS+=           fontdir=${DESTDIR}${PREFIX}/lib/X11/fonts/intlfonts
+
 FONTS_DIRS.x11+=       ${PREFIX}/lib/X11/fonts/intlfonts
 FONTS_DIRS.x11+=       ${PREFIX}/lib/X11/fonts/intlfonts/bdf
 FONTS_DIRS.type1+=     ${PREFIX}/lib/X11/fonts/intlfonts/Type1
-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index