diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-21 14:56:33 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-21 14:56:33 +0000 |
commit | 3755b309bb2750cbcb500fd94e9f842fe298b9da (patch) | |
tree | 3d01e90cc43a8dc3c4b00e35f3ef59e42e6c91c0 | |
parent | Make doxygen optional. (diff) |
Rename DOCS to DOXYGEN.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=429099
-rw-r--r-- | graphics/partio/Makefile | 9 |
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 |