diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-07-09 14:21:43 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-07-09 14:21:43 +0000 |
commit | c0be2db6873e3ae0ac8f6243544ac89f6a2f4c06 (patch) | |
tree | 50ffc6fc5feba89061c8e1f61a778f4ab90a3ecd /textproc/docdiff | |
parent | a2b45cb0543dbf842118d7d930877bf9a6b9662c (diff) | |
download | ports-c0be2db6873e3ae0ac8f6243544ac89f6a2f4c06.tar.gz ports-c0be2db6873e3ae0ac8f6243544ac89f6a2f4c06.zip |
Notes
Diffstat (limited to 'textproc/docdiff')
-rw-r--r-- | textproc/docdiff/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/docdiff/Makefile b/textproc/docdiff/Makefile index 4163c6262dd5..7c40c64fada8 100644 --- a/textproc/docdiff/Makefile +++ b/textproc/docdiff/Makefile @@ -13,12 +13,16 @@ MASTER_SITES= SF MAINTAINER= sunpoet@FreeBSD.org COMMENT= Compares two text files by word, by character, or by line +OPTIONS_DEFINE= DOCS + NO_BUILD= yes USE_RUBY= yes USE_RUBY_FEATURES= iconv PORTDOCS= readme.html readme.en.html readme.ja.html +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} \ -e '1 s|#!.*|#!${RUBY}|' \ @@ -31,7 +35,7 @@ do-install: cd ${WRKSRC}/${PORTNAME}/ && ${COPYTREE_SHARE} . ${RUBY_SITELIBDIR}/${PORTNAME}/ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb ${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.example ${PREFIX}/etc/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${INSTALL} -d ${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif |