pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/stardic Use pkginstall font handling. Bump PK...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59240965865d
branches:  trunk
changeset: 508575:59240965865d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 21 22:39:51 2006 +0000

description:
Use pkginstall font handling. Bump PKGREVISION.

diffstat:

 textproc/stardic/Makefile |  13 ++++---------
 textproc/stardic/PLIST    |   6 +++---
 2 files changed, 7 insertions(+), 12 deletions(-)

diffs (47 lines):

diff -r 070d67adfcee -r 59240965865d textproc/stardic/Makefile
--- a/textproc/stardic/Makefile Tue Feb 21 22:39:18 2006 +0000
+++ b/textproc/stardic/Makefile Tue Feb 21 22:39:51 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2006/02/05 23:11:07 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2006/02/21 22:39:51 wiz Exp $
 
 DISTNAME=      dic
 PKGNAME=       stardic-1.31
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    textproc
 MASTER_SITES=  http://download.linuxbyte.net/Chinese/dictionary/
 
@@ -14,13 +14,8 @@
 MAKEFILE=      makefile
 USE_LANGUAGES= c c++
 
-post-patch:
-       ${CHMOD} u+w  ${WRKSRC}/hzfont
-       ${MV} ${WRKSRC}/hzfont/fonts.dir ${WRKSRC}/hzfont/fonts.dir.orig
-       ${ECHO} '3' > ${WRKSRC}/hzfont/fonts.dir
-       ${ECHO} 'hz16.pcf.gz hz16' >> ${WRKSRC}/hzfont/fonts.dir
-       ${ECHO} 'hz16ft.pcf.gz hz16ft' >> ${WRKSRC}/hzfont/fonts.dir
-       ${ECHO} 'yb10x20.pcf.gz yb10x20' >> ${WRKSRC}/hzfont/fonts.dir
+FONTS_DIRS.x11+=       ${PREFIX}/share/stardic/hzfont
+REQD_DIRS+=            ${PREFIX}/share/stardic ${PREFIX}/share/stardic/hzfont
 
 .include "../../mk/motif.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 070d67adfcee -r 59240965865d textproc/stardic/PLIST
--- a/textproc/stardic/PLIST    Tue Feb 21 22:39:18 2006 +0000
+++ b/textproc/stardic/PLIST    Tue Feb 21 22:39:51 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/15 09:21:43 shell Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/02/21 22:39:51 wiz Exp $
 bin/stardic
 share/stardic/back.gif
 share/stardic/chinabyte.gif
@@ -21,5 +21,5 @@
 share/stardic/wri.gif
 share/stardic/wuhan.gif
 share/stardic/yblib
-@dirrm share/stardic/hzfont
-@dirrm share/stardic
+@comment in REQD_DIRS: @dirrm share/stardic/hzfont
+@comment in REQD_DIRS: @dirrm share/stardic



Home | Main Index | Thread Index | Old Index