aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bisoncpp
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-12-05 02:50:35 +0800
committerpgj <pgj@FreeBSD.org>2012-12-05 02:50:35 +0800
commitf2f979d1bc9718f763e9a523f81413656a26f08b (patch)
tree4fa6357ed7ed831b26516abc4cecfd7c01539531 /devel/bisoncpp
parent0eeeb5951764a5fe5731cd022460acc79acec160 (diff)
downloadfreebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.tar.gz
freebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.tar.zst
freebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.zip
- Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
- Use a single space after "WWW:" in port descriptions Requested by: jhale, danfe, bapt Feature safe: yes
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/