Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 20:16:28 +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: r353513 - head/japanese/lsd-fpw
Message-ID:  <201405092016.s49KGS80053358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri May  9 20:16:27 2014
New Revision: 353513
URL: http://svnweb.freebsd.org/changeset/ports/353513
QAT: https://qat.redports.org/buildarchive/r353513/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Define DOCS option

Modified:
  head/japanese/lsd-fpw/Makefile

Modified: head/japanese/lsd-fpw/Makefile
==============================================================================
--- head/japanese/lsd-fpw/Makefile	Fri May  9 20:14:47 2014	(r353512)
+++ head/japanese/lsd-fpw/Makefile	Fri May  9 20:16:27 2014	(r353513)
@@ -9,23 +9,22 @@ MASTER_SITES=	http://openlab.ring.gr.jp/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Japanese - English Dictionary for Life Science (EPWING V1 format)
+COMMENT=	Japanese - English Dictionary for Life Science (EPWING V1 format)
 
 USES=		zip:infozip
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/lsd
 EXTRACT_BEFORE_ARGS=	-qL
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${MKDIR} ${PREFIX}/share/dict/lsd-fpw/lsd/data
-	${INSTALL_DATA} ${WRKSRC}/lsd/data/honmon ${PREFIX}/share/dict/lsd-fpw/lsd/data
-	${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/lsd-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/lsd-fpw/lsd/data
+	${INSTALL_DATA} ${WRKSRC}/lsd/data/honmon \
+		${STAGEDIR}${PREFIX}/share/dict/lsd-fpw/lsd/data
+	${INSTALL_DATA} ${WRKSRC}/catalogs ${STAGEDIR}${PREFIX}/share/dict/lsd-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?201405092016.s49KGS80053358>