diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-10 04:16:27 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-10 04:16:27 +0800 |
commit | acda19180b7c3c9245a4ef7a260be39d2cc1973c (patch) | |
tree | 58d2c495c7c7dd7de95b7274018153f82104037a /japanese | |
parent | 9c066543549e30ec0ae1f8e2efa8c4f85f0d0147 (diff) | |
download | freebsd-ports-gnome-acda19180b7c3c9245a4ef7a260be39d2cc1973c.tar.gz freebsd-ports-gnome-acda19180b7c3c9245a4ef7a260be39d2cc1973c.tar.zst freebsd-ports-gnome-acda19180b7c3c9245a4ef7a260be39d2cc1973c.zip |
- Add staging support
- Remove leading article from COMMENT
- Define DOCS option
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/lsd-fpw/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/japanese/lsd-fpw/Makefile b/japanese/lsd-fpw/Makefile index f71c84df776e..f6917f13fdd4 100644 --- a/japanese/lsd-fpw/Makefile +++ b/japanese/lsd-fpw/Makefile @@ -9,23 +9,22 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/lsd/ 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> |