aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-01-29 23:12:54 +0800
committergahr <gahr@FreeBSD.org>2014-01-29 23:12:54 +0800
commit8de64b8b8b03aa57dc36fb607730cf4a3c213ae9 (patch)
tree8a8240b4d95f47146f3006ffd854f06ad7164be5 /textproc
parent1b85d5c0f822b39c2d716f938d6117c8902858e7 (diff)
downloadfreebsd-ports-gnome-8de64b8b8b03aa57dc36fb607730cf4a3c213ae9.tar.gz
freebsd-ports-gnome-8de64b8b8b03aa57dc36fb607730cf4a3c213ae9.tar.zst
freebsd-ports-gnome-8de64b8b8b03aa57dc36fb607730cf4a3c213ae9.zip
- STAGE-clean
- Convert to OPTIONSng
Diffstat (limited to 'textproc')
-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>