aboutsummaryrefslogtreecommitdiff
path: root/textproc/jq/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-29 15:12:54 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-29 15:12:54 +0000
commit21aa3dafb0ffb433648afc11e98871e8faf0bfcc (patch)
tree8a8240b4d95f47146f3006ffd854f06ad7164be5 /textproc/jq/Makefile
parent20aa6b94385dbe15d3afa127cbf97a35f33f370a (diff)
downloadports-21aa3dafb0ffb433648afc11e98871e8faf0bfcc.tar.gz
ports-21aa3dafb0ffb433648afc11e98871e8faf0bfcc.zip
Notes
Diffstat (limited to 'textproc/jq/Makefile')
-rw-r--r--textproc/jq/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/textproc/jq/Makefile b/textproc/jq/Makefile
index c6893ef1d8d9..5bb6d74a1a05 100644
--- a/textproc/jq/Makefile
+++ b/textproc/jq/Makefile
@@ -9,21 +9,20 @@ MASTER_SITES= http://stedolan.github.io/jq/download/source/
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= Lightweight and flexible command-line JSON processor
+OPTIONS_DEFINE= DOCS
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs --docdir="${DOCSDIR}"
USE_CSTD= gnu99
-PLIST_FILES= bin/${PORTNAME}
-MAN1= ${PORTNAME}.1
-
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+PORTDOCS= *
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS= *
-.else
+.if !${PORT_OPTIONS:MDOCS}
MAKE_ARGS= docdir=
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>