diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:46:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:46:04 +0000 |
commit | 32e631453d3b6cfb6fd6a6a7f4838be01ee7fd00 (patch) | |
tree | ab4b7a6e249532f28f7ef124bc43c2ec0bbfce77 /textproc/stardic | |
parent | 039ec5a5335902767af6eb8aab4765e279217751 (diff) | |
download | pkgsrc-32e631453d3b6cfb6fd6a6a7f4838be01ee7fd00.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/stardic')
-rw-r--r-- | textproc/stardic/Makefile | 6 | ||||
-rw-r--r-- | textproc/stardic/distinfo | 4 | ||||
-rw-r--r-- | textproc/stardic/patches/patch-aa | 12 |
3 files changed, 13 insertions, 9 deletions
diff --git a/textproc/stardic/Makefile b/textproc/stardic/Makefile index e809e09892e..e209bb680f2 100644 --- a/textproc/stardic/Makefile +++ b/textproc/stardic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/08/12 17:20:19 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2009/07/07 20:46:04 joerg Exp $ DISTNAME= dic PKGNAME= stardic-1.31 @@ -10,12 +10,16 @@ DIST_SUBDIR= ${PKGNAME_NOREV} MAINTAINER= rxg@NetBSD.org COMMENT= English-Chinese dictionary +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= makefile USE_LANGUAGES= c c++ FONTS_DIRS.x11+= ${PREFIX}/share/stardic/hzfont REQD_DIRS+= ${PREFIX}/share/stardic ${PREFIX}/share/stardic/hzfont +INSTALLATION_DIRS= bin + post-extract: chmod -R u+w,go-w ${WRKSRC} diff --git a/textproc/stardic/distinfo b/textproc/stardic/distinfo index 4d28d82a684..918dc822b6c 100644 --- a/textproc/stardic/distinfo +++ b/textproc/stardic/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 14:48:49 agc Exp $ +$NetBSD: distinfo,v 1.5 2009/07/07 20:46:04 joerg Exp $ SHA1 (stardic-1.31/dic.tar.gz) = 89a4edcbac415232627c98680a9817f2a7676f48 RMD160 (stardic-1.31/dic.tar.gz) = 1bd56627105e8035e14b3afbe2dd6f2af4239b48 Size (stardic-1.31/dic.tar.gz) = 1800940 bytes -SHA1 (patch-aa) = af0aede61350b2e77d9df1deaa0d42a0a62cf043 +SHA1 (patch-aa) = 49e9a60550efa36d45a8dc907d87a9cf28dc1829 SHA1 (patch-ab) = ccfe1401645b465785b087fc35eb8fa340bd74d2 SHA1 (patch-ac) = 91f647c7d3ddfe5bd8cf85533dd9902ec37f39a6 SHA1 (patch-ad) = 1d3b772b9d1f722cf23311cb3f104e4b44fc375d diff --git a/textproc/stardic/patches/patch-aa b/textproc/stardic/patches/patch-aa index 7601d88fbdd..aeeec421432 100644 --- a/textproc/stardic/patches/patch-aa +++ b/textproc/stardic/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2002/09/23 23:30:26 jlam Exp $ +$NetBSD: patch-aa,v 1.3 2009/07/07 20:46:04 joerg Exp $ --- makefile.orig Sat Jan 29 12:07:34 2000 +++ makefile @@ -42,8 +42,8 @@ $NetBSD: patch-aa,v 1.2 2002/09/23 23:30:26 jlam Exp $ $(COMPILE.c) $< + +install: -+ $(BSD_INSTALL_PROGRAM) stardic $(PREFIX)/bin -+ $(BSD_INSTALL_DATA_DIR) $(TRANSDIR) -+ $(BSD_INSTALL_DATA) transdic yblib *.gif *.xbm $(TRANSDIR) -+ $(BSD_INSTALL_DATA_DIR) $(TRANSDIR)/hzfont -+ $(BSD_INSTALL_DATA) hzfont/fonts.dir hzfont/*.pcf.gz $(TRANSDIR)/hzfont ++ $(BSD_INSTALL_PROGRAM) stardic ${DESTDIR}$(PREFIX)/bin ++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(TRANSDIR) ++ $(BSD_INSTALL_DATA) transdic yblib *.gif *.xbm ${DESTDIR}$(TRANSDIR) ++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(TRANSDIR)/hzfont ++ $(BSD_INSTALL_DATA) hzfont/fonts.dir hzfont/*.pcf.gz ${DESTDIR}$(TRANSDIR)/hzfont |