pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/stardic user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/1798fb552e30
branches: trunk
changeset: 395318:1798fb552e30
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 20:46:04 2009 +0000
description:
user-destdir support
diffstat:
textproc/stardic/Makefile | 6 +++++-
textproc/stardic/distinfo | 4 ++--
textproc/stardic/patches/patch-aa | 12 ++++++------
3 files changed, 13 insertions(+), 9 deletions(-)
diffs (64 lines):
diff -r 15a3982f6ee3 -r 1798fb552e30 textproc/stardic/Makefile
--- a/textproc/stardic/Makefile Tue Jul 07 20:44:09 2009 +0000
+++ b/textproc/stardic/Makefile Tue Jul 07 20:46:04 2009 +0000
@@ -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 @@
MAINTAINER= rxg%NetBSD.org@localhost
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 -r 15a3982f6ee3 -r 1798fb552e30 textproc/stardic/distinfo
--- a/textproc/stardic/distinfo Tue Jul 07 20:44:09 2009 +0000
+++ b/textproc/stardic/distinfo Tue Jul 07 20:46:04 2009 +0000
@@ -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 -r 15a3982f6ee3 -r 1798fb552e30 textproc/stardic/patches/patch-aa
--- a/textproc/stardic/patches/patch-aa Tue Jul 07 20:44:09 2009 +0000
+++ b/textproc/stardic/patches/patch-aa Tue Jul 07 20:46:04 2009 +0000
@@ -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 @@
$(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
Home |
Main Index |
Thread Index |
Old Index