diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-04-02 10:04:49 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-04-02 10:04:49 +0000 |
commit | c86657048bd1321ac2c2c25197286e03364619be (patch) | |
tree | 5cd5ceb9fff95c1d18e0ccfe77bba01bfe46c1da /textproc/zorba | |
parent | ad7999d62a124662724bcd872bcb0e3b9a5ce42a (diff) | |
download | ports-c86657048bd1321ac2c2c25197286e03364619be.tar.gz ports-c86657048bd1321ac2c2c25197286e03364619be.zip |
Notes
Diffstat (limited to 'textproc/zorba')
-rw-r--r-- | textproc/zorba/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/zorba/Makefile b/textproc/zorba/Makefile index 778f2e852cdb..f0a0ea3ad333 100644 --- a/textproc/zorba/Makefile +++ b/textproc/zorba/Makefile @@ -36,7 +36,7 @@ CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib" -DOCSDIR= ${PREFIX}/share/doc/${PKGNAME} +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= FULLVERSION=${PORTVERSION} \ MIDVERSION=${PORTVERSION:R} \ @@ -97,14 +97,14 @@ PLIST_SUB+= WITH_JAVA="@comment " BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .endif post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/cmake_modules/FindPHP5.cmake -.if defined(NOPORTDOCS) +.if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '531s|^|#|' ${WRKSRC}/CMakeLists.txt .endif |