From c5c7f318188b55036a70c094fd7442c82cbb7053 Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 3 Aug 2007 01:32:06 +0000 Subject: Support PKG_DESTDIR. --- textproc/ipadic/Makefile | 19 +++++++++++-------- textproc/p5-Text-ChaSen/Makefile | 3 ++- 2 files changed, 13 insertions(+), 9 deletions(-) (limited to 'textproc') 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" diff --git a/textproc/p5-Text-ChaSen/Makefile b/textproc/p5-Text-ChaSen/Makefile index 55704e07929..19a718bbbed 100644 --- a/textproc/p5-Text-ChaSen/Makefile +++ b/textproc/p5-Text-ChaSen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/05/10 18:05:51 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2007/08/03 01:32:16 taca Exp $ DISTNAME= Text-ChaSen-1.03 PKGNAME= p5-${DISTNAME} @@ -15,6 +15,7 @@ HOMEPAGE= http://www.daionet.gr.jp/~knok/chasen/ COMMENT= Perl5 module to use ChaSen USE_LANGUAGES= c c++ +PKG_DESTDIR_SUPPORT= user-destdir PERL5_PACKLIST= auto/Text/ChaSen/.packlist -- cgit v1.2.3