summaryrefslogtreecommitdiff
path: root/textproc/ipadic
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-08-03 01:32:06 +0000
committertaca <taca@pkgsrc.org>2007-08-03 01:32:06 +0000
commitc5c7f318188b55036a70c094fd7442c82cbb7053 (patch)
tree74b32842ac4caeae73b51c97f2d7251bf5e71848 /textproc/ipadic
parent0baf8683cc6c108d4874828869765d14ffc0f404 (diff)
downloadpkgsrc-c5c7f318188b55036a70c094fd7442c82cbb7053.tar.gz
Support PKG_DESTDIR.
Diffstat (limited to 'textproc/ipadic')
-rw-r--r--textproc/ipadic/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/textproc/ipadic/Makefile b/textproc/ipadic/Makefile
index f143208b957..4a65ea26a5d 100644
--- a/textproc/ipadic/Makefile
+++ b/textproc/ipadic/Makefile
@@ -1,29 +1,32 @@
-# $NetBSD: Makefile,v 1.13 2007/02/22 19:27:14 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2007/08/03 01:32:06 taca Exp $
#
DISTNAME= ipadic-2.7.0
PKGREVISION= 2
CATEGORIES= japanese textproc
MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/ipadic/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=ipadic/24435/}
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
-HOMEPAGE= http://chasen.aist-nara.ac.jp/
-COMMENT= Japanese Morphological Dictionary for ChaSen
+HOMEPAGE= http://chasen-legacy.sourceforge.jp/
+COMMENT= Japanese Morphological Dictionary including parameter for ChaSen
GNU_CONFIGURE= yes
-CONF_FILES= ${CHASEN_DICDIR}/ipadic/chasenrc.example \
+CONF_FILES= ${PREFIX}/${CHASEN_DICDIR}/ipadic/chasenrc.example \
${PKG_SYSCONFDIR}/chasenrc
-DOCDIR= ${PREFIX}/share/doc/chasen
+DOCDIR= share/doc/chasen
DOCS= AUTHORS COPYING ChangeLog NEWS doc/ipadic-ja.pdf
+INSTALLATION_DIRS= ${DOCDIR}
+PKG_DESTDIR_SUPPORT= user-destdir
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/chasenrc \
- ${CHASEN_DICDIR}/ipadic/chasenrc.example
+ ${DESTDIR}${PREFIX}/${CHASEN_DICDIR}/ipadic/chasenrc.example
.include "../../textproc/chasen/Makefile.common"
.include "../../textproc/chasen-base/buildlink3.mk"