aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-09 20:16:27 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-09 20:16:27 +0000
commitc2ffd49dc9c20635dafd07985f07405552dcafa0 (patch)
tree58d2c495c7c7dd7de95b7274018153f82104037a
parentb60faac83ee7c34b297bd053565b2433d0e238a5 (diff)
downloadports-c2ffd49dc9c20635dafd07985f07405552dcafa0.tar.gz
ports-c2ffd49dc9c20635dafd07985f07405552dcafa0.zip
Notes
-rw-r--r--japanese/lsd-fpw/Makefile21
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>