aboutsummaryrefslogtreecommitdiff
path: root/japanese/ipadic
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-04-13 12:36:43 +0000
committerRene Ladan <rene@FreeBSD.org>2014-04-13 12:36:43 +0000
commitb982998742f558d3e43930f21cfee1b118e29571 (patch)
treed05d80638108ab32b4d53a84b665651b12f46b6f /japanese/ipadic
parent3c2a4e164a9bde9d46c7d2ea80b32abfadca7165 (diff)
downloadports-b982998742f558d3e43930f21cfee1b118e29571.tar.gz
ports-b982998742f558d3e43930f21cfee1b118e29571.zip
- Stage support
- Use new @sample keyword
Notes
Notes: svn path=/head/; revision=351211
Diffstat (limited to 'japanese/ipadic')
-rw-r--r--japanese/ipadic/Makefile6
-rw-r--r--japanese/ipadic/pkg-plist4
2 files changed, 4 insertions, 6 deletions
diff --git a/japanese/ipadic/Makefile b/japanese/ipadic/Makefile
index 61aab42ad8d2..d33de0b5899f 100644
--- a/japanese/ipadic/Makefile
+++ b/japanese/ipadic/Makefile
@@ -17,9 +17,9 @@ CONFIGURE_ARGS= --with-dicdir=${PREFIX}/share/chasen/dic
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>
diff --git a/japanese/ipadic/pkg-plist b/japanese/ipadic/pkg-plist
index f5b3e5b4d124..bebac35394c1 100644
--- a/japanese/ipadic/pkg-plist
+++ b/japanese/ipadic/pkg-plist
@@ -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