Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 17:43:46 +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: r354347 - head/japanese/wwasw-fpw
Message-ID:  <201405171743.s4HHhkGK070543@svn.freebsd.org>

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

Log:
  - Add staging support
  - Convert to new options framework
  - Remove leading article from COMMENT

Modified:
  head/japanese/wwasw-fpw/Makefile

Modified: head/japanese/wwasw-fpw/Makefile
==============================================================================
--- head/japanese/wwasw-fpw/Makefile	Sat May 17 17:20:35 2014	(r354346)
+++ head/japanese/wwasw-fpw/Makefile	Sat May 17 17:43:46 2014	(r354347)
@@ -9,23 +9,23 @@ MASTER_SITES=	http://openlab.ring.gr.jp/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A biographical dictionary (EPWING V1 format)
+COMMENT=	Biographical dictionary (EPWING V1 format)
 
 USES=		zip:infozip
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/wwasw
 EXTRACT_BEFORE_ARGS=	-qL
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${MKDIR} ${PREFIX}/share/dict/wwasw-fpw/wwasw/data
-	${INSTALL_DATA} ${WRKSRC}/wwasw/data/honmon ${PREFIX}/share/dict/wwasw-fpw/wwasw/data
-	${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wwasw-fpw
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for i in readme.pkg readme.txt
-	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/wwasw-fpw/wwasw/data
+	${INSTALL_DATA} ${WRKSRC}/wwasw/data/honmon \
+		${STAGEDIR}${PREFIX}/share/dict/wwasw-fpw/wwasw/data
+	${INSTALL_DATA} ${WRKSRC}/catalogs \
+		${STAGEDIR}${PREFIX}/share/dict/wwasw-fpw
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} readme.pkg readme.txt \
+		${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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