pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc Support PKG_DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/403ee5db5e28
branches: trunk
changeset: 531619:403ee5db5e28
user: taca <taca%pkgsrc.org@localhost>
date: Fri Aug 03 01:32:06 2007 +0000
description:
Support PKG_DESTDIR.
diffstat:
textproc/ipadic/Makefile | 19 +++++++++++--------
textproc/p5-Text-ChaSen/Makefile | 3 ++-
2 files changed, 13 insertions(+), 9 deletions(-)
diffs (61 lines):
diff -r 1ce566d3ee70 -r 403ee5db5e28 textproc/ipadic/Makefile
--- a/textproc/ipadic/Makefile Fri Aug 03 00:55:58 2007 +0000
+++ b/textproc/ipadic/Makefile Fri Aug 03 01:32:06 2007 +0000
@@ -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@localhost
-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 -r 1ce566d3ee70 -r 403ee5db5e28 textproc/p5-Text-ChaSen/Makefile
--- a/textproc/p5-Text-ChaSen/Makefile Fri Aug 03 00:55:58 2007 +0000
+++ b/textproc/p5-Text-ChaSen/Makefile Fri Aug 03 01:32:06 2007 +0000
@@ -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 @@
COMMENT= Perl5 module to use ChaSen
USE_LANGUAGES= c c++
+PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Text/ChaSen/.packlist
Home |
Main Index |
Thread Index |
Old Index