summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 17:23:36 +0000
committerabs <abs@pkgsrc.org>2009-12-17 17:23:36 +0000
commit8a64df657836deecae06ffd9d365bac5f879e416 (patch)
treeac0d7319442258c1ce7cfd114adc7ffcc5e80a63 /fonts
parentf7c965af7cebcf8c407d6a342d6b45cf52c683e9 (diff)
downloadpkgsrc-8a64df657836deecae06ffd9d365bac5f879e416.tar.gz
PKG_DESTDIR_SUPPORT= user-destdir
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ko-mizi/Makefile7
-rw-r--r--fonts/ko-mizi/distinfo3
-rw-r--r--fonts/ko-mizi/patches/patch-aa15
3 files changed, 20 insertions, 5 deletions
diff --git a/fonts/ko-mizi/Makefile b/fonts/ko-mizi/Makefile
index a69adfa3486..dfe54eb1772 100644
--- a/fonts/ko-mizi/Makefile
+++ b/fonts/ko-mizi/Makefile
@@ -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 @@ COMMENT= X11 fonts for KSC 5601 standard
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 @@ MIZI_PCF= mzgt16e.pcf mzgt16h1.pcf mzmj16h.pcf mzpg16h.pcf mzsm16h.pcf \
FONTDIR= ${PREFIX}/lib/X11/fonts/local
FONTS_DIRS.x11= ${FONTDIR}
+INSTALLATION_DIRS+= ${FONTDIR}
do-extract:
${MKDIR} ${WRKSRC}
@@ -39,7 +41,4 @@ do-extract:
do-configure:
cd ${WRKSRC}; ${MAKE} prepare
-pre-install:
- [ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ko-mizi/distinfo b/fonts/ko-mizi/distinfo
index 11777e416cc..b8a14fad69a 100644
--- a/fonts/ko-mizi/distinfo
+++ b/fonts/ko-mizi/distinfo
@@ -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 --git a/fonts/ko-mizi/patches/patch-aa b/fonts/ko-mizi/patches/patch-aa
new file mode 100644
index 00000000000..75178abaf40
--- /dev/null
+++ b/fonts/ko-mizi/patches/patch-aa
@@ -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: