summaryrefslogtreecommitdiff
path: root/misc/xjdic
diff options
context:
space:
mode:
authordogcow <dogcow>2009-11-10 10:23:15 +0000
committerdogcow <dogcow>2009-11-10 10:23:15 +0000
commitfea6bc56100c05868f8f3fc523680427291d0031 (patch)
tree7e1a69dce1096c55ac05b09e147eef92b8bf0e2d /misc/xjdic
parenta04893596f9af443a415cb38377646aeba5fade8 (diff)
downloadpkgsrc-fea6bc56100c05868f8f3fc523680427291d0031.tar.gz
add locale patch to honor LOCALE settings (so iso-2022-jp isn't required)
Diffstat (limited to 'misc/xjdic')
-rw-r--r--misc/xjdic/Makefile3
-rw-r--r--misc/xjdic/distinfo5
-rw-r--r--misc/xjdic/options.mk14
3 files changed, 20 insertions, 2 deletions
diff --git a/misc/xjdic/Makefile b/misc/xjdic/Makefile
index 0f2415422f0..f631eca9461 100644
--- a/misc/xjdic/Makefile
+++ b/misc/xjdic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/08/23 07:47:00 obache Exp $
+# $NetBSD: Makefile,v 1.18 2009/11/10 10:23:15 dogcow Exp $
#
DISTNAME= xjdic24
@@ -19,6 +19,7 @@ DEPENDS+= edict-[0-9]*:../../misc/edict
DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic
PKG_DESTDIR_SUPPORT= user-destdir
+.include "options.mk"
WRKSRC= ${WRKDIR}
MESSAGE_SUBST+= PREFIX=${PREFIX}
diff --git a/misc/xjdic/distinfo b/misc/xjdic/distinfo
index 40fd2117362..8a8a89cfdd6 100644
--- a/misc/xjdic/distinfo
+++ b/misc/xjdic/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.6 2006/01/03 16:00:57 joerg Exp $
+$NetBSD: distinfo,v 1.7 2009/11/10 10:23:15 dogcow Exp $
+SHA1 (xjdic-24.locale.patch) = fdd9a6d12a9c2098c315364ad79fe77527f8b43e
+RMD160 (xjdic-24.locale.patch) = 3a7bd300f44e17f668213dd66dcb2fe3b377ff21
+Size (xjdic-24.locale.patch) = 15750 bytes
SHA1 (xjdic24.tgz) = 732b2922c3e7229baedfb8be958dc3b92a8a06b8
RMD160 (xjdic24.tgz) = 25662aa7bd9538d00656983394e329a888ecfdf3
Size (xjdic24.tgz) = 140091 bytes
diff --git a/misc/xjdic/options.mk b/misc/xjdic/options.mk
new file mode 100644
index 00000000000..93df7d36e13
--- /dev/null
+++ b/misc/xjdic/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2009/11/10 10:23:15 dogcow Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xjdic
+PKG_SUPPORTED_OPTIONS= xjdic-locale
+PKG_SUGGESTED_OPTIONS= xjdic-locale
+
+.include "../../mk/bsd.options.mk"
+
+#die die die
+
+.if !empty(PKG_OPTIONS:Mxjdic-locale)
+PATCH_SITES= http://www.tzone.org/~vandry/xjdic/
+PATCHFILES+= xjdic-24.locale.patch
+.endif