- STAGE-clean
- Convert to OPTIONSng
This commit is contained in:
parent
20aa6b9438
commit
21aa3dafb0
@ -9,21 +9,20 @@ MASTER_SITES= http://stedolan.github.io/jq/download/source/
|
|||||||
MAINTAINER= jnlin@csie.nctu.edu.tw
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
||||||
COMMENT= Lightweight and flexible command-line JSON processor
|
COMMENT= Lightweight and flexible command-line JSON processor
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --disable-docs --docdir="${DOCSDIR}"
|
CONFIGURE_ARGS= --disable-docs --docdir="${DOCSDIR}"
|
||||||
USE_CSTD= gnu99
|
USE_CSTD= gnu99
|
||||||
|
|
||||||
PLIST_FILES= bin/${PORTNAME}
|
PLIST_FILES= bin/${PORTNAME} \
|
||||||
MAN1= ${PORTNAME}.1
|
man/man1/${PORTNAME}.1.gz
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.else
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if !${PORT_OPTIONS:MDOCS}
|
||||||
MAKE_ARGS= docdir=
|
MAKE_ARGS= docdir=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user