Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 03:59:12 +0000 (UTC)
From:      Daichi GOTO <daichi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357738 - head/japanese/tkhonyaku
Message-ID:  <201406140359.s5E3xCde014355@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: daichi
Date: Sat Jun 14 03:59:11 2014
New Revision: 357738
URL: http://svnweb.freebsd.org/changeset/ports/357738
QAT: https://qat.redports.org/buildarchive/r357738/

Log:
  Stagefy

Modified:
  head/japanese/tkhonyaku/Makefile
  head/japanese/tkhonyaku/pkg-plist

Modified: head/japanese/tkhonyaku/Makefile
==============================================================================
--- head/japanese/tkhonyaku/Makefile	Sat Jun 14 03:46:58 2014	(r357737)
+++ head/japanese/tkhonyaku/Makefile	Sat Jun 14 03:59:11 2014	(r357738)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tkhonyaku
 PORTVERSION=	1.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese
 MASTER_SITES=	http://www.yk.rim.or.jp/~kawagisi/
 
@@ -18,20 +18,15 @@ NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -i '' -e 's|/usr/local/tkhonyaku|${PREFIX}/tkhonyaku|g' \
 		${WRKSRC}/tkhonyaku ${WRKSRC}/tkhonyaku-readme
 
 do-install:
-	${MKDIR} ${PREFIX}/share/tkhonyaku
-	${INSTALL_DATA} ${WRKSRC}/tkhonyaku.gif ${PREFIX}/share/tkhonyaku/
-	${INSTALL_DATA} ${WRKSRC}/tkhonyaku.xpm ${PREFIX}/share/tkhonyaku/
-	${INSTALL_DATA} ${WRKSRC}/colors.gif ${PREFIX}/share/tkhonyaku/
-	${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/tkhonyaku.gif ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/tkhonyaku.xpm ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/colors.gif ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${STAGEDIR}${PORTDOCS}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/japanese/tkhonyaku/pkg-plist
==============================================================================
--- head/japanese/tkhonyaku/pkg-plist	Sat Jun 14 03:46:58 2014	(r357737)
+++ head/japanese/tkhonyaku/pkg-plist	Sat Jun 14 03:59:11 2014	(r357738)
@@ -1,7 +1,3 @@
-%%PORTDOCS%%%%DOCSDIR%%/tkhonyaku-readme
-share/tkhonyaku/tkhonyaku.gif
-share/tkhonyaku/tkhonyaku.xpm
-share/tkhonyaku/colors.gif
 bin/tkhonyaku
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm share/tkhonyaku
+%%PORTDOCS%%%%DOCSDIR%%
+%%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406140359.s5E3xCde014355>