pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/ko-mizi PKG_DESTDIR_SUPPORT= user-destdir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d28caee172bb
branches:  trunk
changeset: 568734:d28caee172bb
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 17:23:36 2009 +0000

description:
PKG_DESTDIR_SUPPORT= user-destdir

diffstat:

 fonts/ko-mizi/Makefile         |   7 +++----
 fonts/ko-mizi/distinfo         |   3 ++-
 fonts/ko-mizi/patches/patch-aa |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 7a93293ee567 -r d28caee172bb fonts/ko-mizi/Makefile
--- a/fonts/ko-mizi/Makefile    Thu Dec 17 17:21:18 2009 +0000
+++ b/fonts/ko-mizi/Makefile    Thu Dec 17 17:23:36 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/07/25 15:12:27 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2009/12/17 17:23:36 abs Exp $
 #
 
 DISTNAME=      xfntmizi-1.1-2.noarch
@@ -14,6 +14,7 @@
 BUILD_DEPENDS+=        rpm-[0-9]*:../../misc/rpm
 
 CONFLICTS+=    ksc5601fonts-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
 
 USE_X11BASE=           yes
 USE_TOOLS+=            gzip gunzip
@@ -26,6 +27,7 @@
 
 FONTDIR=       ${PREFIX}/lib/X11/fonts/local
 FONTS_DIRS.x11=        ${FONTDIR}
+INSTALLATION_DIRS+= ${FONTDIR}
 
 do-extract:
        ${MKDIR} ${WRKSRC}
@@ -39,7 +41,4 @@
 do-configure:
        cd ${WRKSRC}; ${MAKE} prepare
 
-pre-install:
-       [ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}
-
 .include "../../mk/bsd.pkg.mk"
diff -r 7a93293ee567 -r d28caee172bb fonts/ko-mizi/distinfo
--- a/fonts/ko-mizi/distinfo    Thu Dec 17 17:21:18 2009 +0000
+++ b/fonts/ko-mizi/distinfo    Thu Dec 17 17:23:36 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 19:18:28 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/12/17 17:23:36 abs Exp $
 
 SHA1 (xfntmizi-1.1-2.noarch.rpm) = 920a9485b5c5b1b22b0da9d2b4430388219f6bf2
 RMD160 (xfntmizi-1.1-2.noarch.rpm) = ffb144d9a67eca11052b93e3cb3a1cafc039fd37
 Size (xfntmizi-1.1-2.noarch.rpm) = 1484554 bytes
+SHA1 (patch-aa) = f37e8845158dbe65e1ca9a66f537e5810d3cc612
diff -r 7a93293ee567 -r d28caee172bb fonts/ko-mizi/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ko-mizi/patches/patch-aa    Thu Dec 17 17:23:36 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2009/12/17 17:23:36 abs Exp $
+
+--- Makefile.orig      2009-12-17 17:19:10.000000000 +0000
++++ Makefile
+@@ -17,8 +17,8 @@ prepare::
+ 
+ install::
+       for i in ${PCFALL}; do \
+-              ${BSD_INSTALL_DATA} $$i ${FONTDIR}; \
+-              ${GZIP_CMD} ${FONTDIR}/$$i; \
++              ${BSD_INSTALL_DATA} $$i ${DESTDIR}${FONTDIR}; \
++              ${GZIP_CMD} ${DESTDIR}${FONTDIR}/$$i; \
+       done
+ 
+ clean:



Home | Main Index | Thread Index | Old Index