summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-21 14:56:33 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-21 14:56:33 +0000
commit3755b309bb2750cbcb500fd94e9f842fe298b9da (patch)
tree3d01e90cc43a8dc3c4b00e35f3ef59e42e6c91c0
parentMake doxygen optional. (diff)
Rename DOCS to DOXYGEN.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=429099
-rw-r--r--graphics/partio/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile
index a116ae14edeb..cd3095468cc1 100644
--- a/graphics/partio/Makefile
+++ b/graphics/partio/Makefile
@@ -2,6 +2,7 @@
PORTNAME= partio
PORTVERSION= 1.1.0.20150221
+PORTREVISION= 1
CATEGORIES= graphics math
MAINTAINER= mva@FreeBSD.org
@@ -17,10 +18,10 @@ USE_GITHUB= yes
GH_ACCOUNT= wdas
GH_TAGNAME= 1fd6747
-OPTIONS_DEFINE= DOCS PYTHON
+OPTIONS_DEFINE= DOXYGEN PYTHON
OPTIONS_DEFAULT= PYTHON
-DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
+DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
PYTHON_USES= python:2.7+
PYTHON_BUILD_DEPENDS= swig:devel/swig13
@@ -38,12 +39,12 @@ post-patch:
@${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/py.*/d' \
${WRKSRC}/CMakeLists.txt
.endif
-.if !${PORT_OPTIONS:MDOCS}
+.if !${PORT_OPTIONS:MDOXYGEN}
@${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \
${WRKSRC}/CMakeLists.txt
.endif
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOXYGEN}
post-build:
@(cd ${BUILD_WRKSRC}; make doc)
.endif