ports/182396: [MAINTAINER] japanese/mecab: add staging support
Yasuhiro KIMURA
yasu at utahime.org
Thu Sep 26 07:00:00 UTC 2013
>Number: 182396
>Category: ports
>Synopsis: [MAINTAINER] japanese/mecab: add staging support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 26 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 9.1-RELEASE-p7 amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0 r255449: Tue Sep 10 22:52:11 JST 2013 xxxx amd64
>Description:
Add staging support.
>How-To-Repeat:
>Fix:
--- patch-ja-mecab begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 328328)
+++ Makefile (working copy)
@@ -31,7 +31,6 @@
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -46,16 +45,12 @@
${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}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS:N*.html}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
--- patch-ja-mecab ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list