svn commit: r351211 - head/japanese/ipadic

Rene Ladan rene at FreeBSD.org
Sun Apr 13 12:36:44 UTC 2014


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
- at 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
- at exec if [ ! -f %D/etc/chasenrc ]; then cp %F %D/etc/chasenrc; fi
+ at 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


More information about the svn-ports-head mailing list