aboutsummaryrefslogtreecommitdiff
path: root/devel/bisoncpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bisoncpp')
-rw-r--r--devel/bisoncpp/Makefile6
-rw-r--r--devel/bisoncpp/pkg-descr2
2 files changed, 5 insertions, 3 deletions
diff --git a/devel/bisoncpp/Makefile b/devel/bisoncpp/Makefile
index 2dca0ab1d47e..8d0205f62dc5 100644
--- a/devel/bisoncpp/Makefile
+++ b/devel/bisoncpp/Makefile
@@ -30,6 +30,8 @@ WRKSRC= ${WRKDIR}/bisonc++-${PORTVERSION}
USE_GCC= 4.6
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} 's|"/usr"|"${PREFIX}"| ; \
s|"/share/bisonc++"|"/share/${PORTNAME}-${PORTVERSION}"| ; \
@@ -61,7 +63,7 @@ do-build:
.if !defined(NO_INSTALL_MANPAGES)
@cd ${WRKSRC} && ./build man
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@cd ${WRKSRC} && ./build manual
.endif
@@ -70,7 +72,7 @@ do-install:
.if !defined(NO_INSTALL_MANPAGES)
cd ${WRKSRC} && ./build install man
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && ./build install manual
.endif
diff --git a/devel/bisoncpp/pkg-descr b/devel/bisoncpp/pkg-descr
index 9b37dbc0d080..3cbf857e3fc9 100644
--- a/devel/bisoncpp/pkg-descr
+++ b/devel/bisoncpp/pkg-descr
@@ -3,4 +3,4 @@ cleaner setup than the code generated by Alain Coetmeur's bison++.
Furthermore, since bisonc++ more closely follows current-day ideas about
C++ programming its code is easier to read.
-WWW: http://bisoncpp.sourceforge.net/
+WWW: http://bisoncpp.sourceforge.net/