diff options
author | rene <rene@FreeBSD.org> | 2014-04-13 20:36:43 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-04-13 20:36:43 +0800 |
commit | 3f6f150a9c180421cab13b88ce0038dcef15fb7a (patch) | |
tree | d05d80638108ab32b4d53a84b665651b12f46b6f | |
parent | 034e666c4b79bca4479d4e8827253f998c7d335c (diff) | |
download | freebsd-ports-gnome-3f6f150a9c180421cab13b88ce0038dcef15fb7a.tar.gz freebsd-ports-gnome-3f6f150a9c180421cab13b88ce0038dcef15fb7a.tar.zst freebsd-ports-gnome-3f6f150a9c180421cab13b88ce0038dcef15fb7a.zip |
- Stage support
- Use new @sample keyword
-rw-r--r-- | japanese/ipadic/Makefile | 6 | ||||
-rw-r--r-- | japanese/ipadic/pkg-plist | 4 |
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 |