Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 18:41:43 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354354 - head/japanese/yasou-fpw
Message-ID:  <201405171841.s4HIfhFE007707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat May 17 18:41:43 2014
New Revision: 354354
URL: http://svnweb.freebsd.org/changeset/ports/354354
QAT: https://qat.redports.org/buildarchive/r354354/

Log:
  - Add staging support
  - Convert to new options framework

Modified:
  head/japanese/yasou-fpw/Makefile

Modified: head/japanese/yasou-fpw/Makefile
==============================================================================
--- head/japanese/yasou-fpw/Makefile	Sat May 17 18:35:00 2014	(r354353)
+++ head/japanese/yasou-fpw/Makefile	Sat May 17 18:41:43 2014	(r354354)
@@ -17,16 +17,16 @@ NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/yasou
 EXTRACT_BEFORE_ARGS=	-qL
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${MKDIR} ${PREFIX}/share/dict/yasou-fpw/yasou/data
-	${INSTALL_DATA} ${WRKSRC}/yasou/data/honmon ${PREFIX}/share/dict/yasou-fpw/yasou/data
-	${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/yasou-fpw
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for i in readme.fpw yasoufpw.txt
-	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/yasou-fpw/yasou/data
+	${INSTALL_DATA} ${WRKSRC}/yasou/data/honmon \
+		${STAGEDIR}${PREFIX}/share/dict/yasou-fpw/yasou/data
+	${INSTALL_DATA} ${WRKSRC}/catalogs \
+		${STAGEDIR}${PREFIX}/share/dict/yasou-fpw
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} readme.fpw yasoufpw.txt \
+	       ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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