Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 12:36:43 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351211 - head/japanese/ipadic
Message-ID:  <201404131236.s3DCahBD030926@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Apr 13 12:36:43 2014
New Revision: 351211
URL: http://svnweb.freebsd.org/changeset/ports/351211
QAT: https://qat.redports.org/buildarchive/r351211/

Log:
  - Stage support
  - Use new @sample keyword

Modified:
  head/japanese/ipadic/Makefile
  head/japanese/ipadic/pkg-plist

Modified: head/japanese/ipadic/Makefile
==============================================================================
--- head/japanese/ipadic/Makefile	Sun Apr 13 12:17:19 2014	(r351210)
+++ head/japanese/ipadic/Makefile	Sun Apr 13 12:36:43 2014	(r351211)
@@ -17,9 +17,9 @@ CONFIGURE_ARGS=	--with-dicdir=${PREFIX}/
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-NO_STAGE=	yes
-post-install:
+pre-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic/ipadic
 	${INSTALL_DATA} ${WRKSRC}/chasenrc \
-		${PREFIX}/share/chasen/dic/ipadic/chasenrc.example
+		${STAGEDIR}${PREFIX}/share/chasen/dic/ipadic/chasenrc.sample
 
 .include <bsd.port.mk>

Modified: head/japanese/ipadic/pkg-plist
==============================================================================
--- head/japanese/ipadic/pkg-plist	Sun Apr 13 12:17:19 2014	(r351210)
+++ head/japanese/ipadic/pkg-plist	Sun Apr 13 12:36:43 2014	(r351211)
@@ -5,9 +5,7 @@ share/chasen/dic/ipadic/chadic.da
 share/chasen/dic/ipadic/chadic.dat
 share/chasen/dic/ipadic/chadic.lex
 share/chasen/dic/ipadic/chasenrc
-@unexec if cmp -s %D/etc/chasenrc %D/share/chasen/dic/ipadic/chasenrc.example; then rm -f %D/etc/chasenrc; else true; fi
-share/chasen/dic/ipadic/chasenrc.example
-@exec if [ ! -f %D/etc/chasenrc ]; then cp %F %D/etc/chasenrc; fi
+@sample share/chasen/dic/ipadic/chasenrc.sample
 share/chasen/dic/ipadic/connect.cha
 share/chasen/dic/ipadic/ctypes.cha
 share/chasen/dic/ipadic/grammar.cha



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404131236.s3DCahBD030926>