Date: Sat, 28 Sep 2013 19:36:55 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328624 - head/japanese/mecab Message-ID: <201309281936.r8SJatvv012651@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Sep 28 19:36:55 2013 New Revision: 328624 URL: http://svnweb.freebsd.org/changeset/ports/328624 Log: Convert to STAGEDIR PR: ports/182396 Submitted by: Yasuhiro KIMURA (maintainer) Modified: head/japanese/mecab/Makefile head/japanese/mecab/pkg-plist Modified: head/japanese/mecab/Makefile ============================================================================== --- head/japanese/mecab/Makefile Sat Sep 28 19:34:21 2013 (r328623) +++ head/japanese/mecab/Makefile Sat Sep 28 19:36:55 2013 (r328624) @@ -25,13 +25,10 @@ LDFLAGS+= -L${LOCALBASE}/lib ACLOCAL_ARGS= --system-acdir=${LOCALBASE}/share/aclocal AUTOMAKE_ARGS= --add-missing -MAN1= mecab.1 - PORTDOCS= AUTHORS README *.html OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @@ -46,16 +43,10 @@ pre-install: ${CHMOD} a+x ${WRKSRC}/install-sh post-install: - @if [ ! -f ${PREFIX}/etc/mecabrc ]; then \ - ${INSTALL_DATA} ${PREFIX}/etc/mecabrc.dist ${PREFIX}/etc/mecabrc; \ - fi .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS:N*.html} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ -.endfor - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:N*.html:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} .endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Modified: head/japanese/mecab/pkg-plist ============================================================================== --- head/japanese/mecab/pkg-plist Sat Sep 28 19:34:21 2013 (r328623) +++ head/japanese/mecab/pkg-plist Sat Sep 28 19:36:55 2013 (r328624) @@ -10,6 +10,7 @@ libexec/mecab/mecab-dict-gen libexec/mecab/mecab-dict-index libexec/mecab/mecab-system-eval libexec/mecab/mecab-test-gen +man/man1/mecab.1.gz @dirrm libexec/mecab @unexec if cmp -s %D/etc/mecabrc.dist %D/etc/mecabrc; then rm -f %D/etc/mecabrc; else true; fi etc/mecabrc.dist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309281936.r8SJatvv012651>