summaryrefslogtreecommitdiff
path: root/textproc/stardic
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-21 22:39:51 +0000
committerwiz <wiz@pkgsrc.org>2006-02-21 22:39:51 +0000
commit119e7903c68a68ca5214178b4131ed7cc6ce3cbd (patch)
tree8a0b30d85fedf609711c331bfe572ebbc60e0781 /textproc/stardic
parent76879249b847354356f828e8a2f4cfb5d2606492 (diff)
downloadpkgsrc-119e7903c68a68ca5214178b4131ed7cc6ce3cbd.tar.gz
Use pkginstall font handling. Bump PKGREVISION.
Diffstat (limited to 'textproc/stardic')
-rw-r--r--textproc/stardic/Makefile13
-rw-r--r--textproc/stardic/PLIST6
2 files changed, 7 insertions, 12 deletions
diff --git a/textproc/stardic/Makefile b/textproc/stardic/Makefile
index c706aa732a8..82cae6fbcb0 100644
--- a/textproc/stardic/Makefile
+++ b/textproc/stardic/Makefile
@@ -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 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
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 --git a/textproc/stardic/PLIST b/textproc/stardic/PLIST
index 831e191dd34..bdfdaca028a 100644
--- a/textproc/stardic/PLIST
+++ b/textproc/stardic/PLIST
@@ -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/transdic
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