svn commit: r353456 - head/japanese/flower-fpw
Pawel Pekala
pawel at FreeBSD.org
Fri May 9 12:55:17 UTC 2014
Author: pawel
Date: Fri May 9 12:55:16 2014
New Revision: 353456
URL: http://svnweb.freebsd.org/changeset/ports/353456
QAT: https://qat.redports.org/buildarchive/r353456/
Log:
- Add staging support
- Remove leading article from COMMENT
- Define DOCS option
Modified:
head/japanese/flower-fpw/Makefile
Modified: head/japanese/flower-fpw/Makefile
==============================================================================
--- head/japanese/flower-fpw/Makefile Fri May 9 12:53:35 2014 (r353455)
+++ head/japanese/flower-fpw/Makefile Fri May 9 12:55:16 2014 (r353456)
@@ -9,23 +9,22 @@ MASTER_SITES= http://openlab.ring.gr.jp/
DISTNAME= Flower-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= A dictionary for flowers (EPWING V1 format)
+COMMENT= Dictionary for flowers (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/flower
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/flower-fpw/flower/data
- ${INSTALL_DATA} ${WRKSRC}/flower/data/honmon ${PREFIX}/share/dict/flower-fpw/flower/data
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/flower-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/flower-fpw/flower/data
+ ${INSTALL_DATA} ${WRKSRC}/flower/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/flower-fpw/flower/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/flower-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list