svn commit: r354348 - head/japanese/wordnet-fpw

Pawel Pekala pawel at FreeBSD.org
Sat May 17 17:55:56 UTC 2014


Author: pawel
Date: Sat May 17 17:55:55 2014
New Revision: 354348
URL: http://svnweb.freebsd.org/changeset/ports/354348
QAT: https://qat.redports.org/buildarchive/r354348/

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

Modified:
  head/japanese/wordnet-fpw/Makefile

Modified: head/japanese/wordnet-fpw/Makefile
==============================================================================
--- head/japanese/wordnet-fpw/Makefile	Sat May 17 17:43:46 2014	(r354347)
+++ head/japanese/wordnet-fpw/Makefile	Sat May 17 17:55:55 2014	(r354348)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://openlab.ring.gr.jp/
 DISTNAME=	wordnet-${WN_VER}-fpw${WNFPW_VER}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A English - English Dictionary (EPWING V1 format)
+COMMENT=	English - English Dictionary (EPWING V1 format)
 
 USES=		zip:infozip
 NO_BUILD=	yes
@@ -18,15 +18,15 @@ EXTRACT_BEFORE_ARGS=	-qL
 WNFPW_VER=	1.1.3
 WN_VER=		1.6
 
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
-	${INSTALL_DATA} ${WRKSRC}/wordnet/data/honmon ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
-	${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wordnet-fpw
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/wordnet-fpw/wordnet/data
+	${INSTALL_DATA} ${WRKSRC}/wordnet/data/honmon \
+		${STAGEDIR}${PREFIX}/share/dict/wordnet-fpw/wordnet/data
+	${INSTALL_DATA} ${WRKSRC}/catalogs \
+		${STAGEDIR}${PREFIX}/share/dict/wordnet-fpw
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list