- Stage support

- Use new @sample keyword
This commit is contained in:
Rene Ladan 2014-04-13 12:36:43 +00:00
parent 3c2a4e164a
commit b982998742
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351211
2 changed files with 4 additions and 6 deletions

View file

@ -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>

View file

@ -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