svn commit: r308261 - in head/devel: bisoncpp icmake libbobcat
Gabor Pali
pgj at FreeBSD.org
Tue Dec 4 18:50:36 UTC 2012
Author: pgj
Date: Tue Dec 4 18:50:35 2012
New Revision: 308261
URL: http://svnweb.freebsd.org/changeset/ports/308261
Log:
- Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
- Use a single space after "WWW:" in port descriptions
Requested by: jhale, danfe, bapt
Feature safe: yes
Modified:
head/devel/bisoncpp/Makefile
head/devel/bisoncpp/pkg-descr
head/devel/icmake/Makefile
head/devel/icmake/pkg-descr
head/devel/libbobcat/Makefile
Modified: head/devel/bisoncpp/Makefile
==============================================================================
--- head/devel/bisoncpp/Makefile Tue Dec 4 18:15:10 2012 (r308260)
+++ head/devel/bisoncpp/Makefile Tue Dec 4 18:50:35 2012 (r308261)
@@ -30,6 +30,8 @@ WRKSRC= ${WRKDIR}/bisonc++-${PORTVERSIO
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
Modified: head/devel/bisoncpp/pkg-descr
==============================================================================
--- head/devel/bisoncpp/pkg-descr Tue Dec 4 18:15:10 2012 (r308260)
+++ head/devel/bisoncpp/pkg-descr Tue Dec 4 18:50:35 2012 (r308261)
@@ -3,4 +3,4 @@ cleaner setup than the code generated by
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/
Modified: head/devel/icmake/Makefile
==============================================================================
--- head/devel/icmake/Makefile Tue Dec 4 18:15:10 2012 (r308260)
+++ head/devel/icmake/Makefile Tue Dec 4 18:50:35 2012 (r308261)
@@ -29,6 +29,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER
REINPLACE_ARGS= -I ""
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
${WRKSRC}/icm_bootstrap \
@@ -103,7 +105,7 @@ do-install:
.if !defined(NO_INSTALL_MANPAGES)
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install man
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install doc
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install docdoc
.endif
Modified: head/devel/icmake/pkg-descr
==============================================================================
--- head/devel/icmake/pkg-descr Tue Dec 4 18:15:10 2012 (r308260)
+++ head/devel/icmake/pkg-descr Tue Dec 4 18:50:35 2012 (r308261)
@@ -4,4 +4,4 @@ automatic program maintenance and system
platforms. Later on, Icmake was eventually ported to Unix platforms
(SCO and Linux). By now Icmake also runs on a HP-Unix platform.
-WWW: http://icmake.sourceforge.net/
+WWW: http://icmake.sourceforge.net/
Modified: head/devel/libbobcat/Makefile
==============================================================================
--- head/devel/libbobcat/Makefile Tue Dec 4 18:15:10 2012 (r308260)
+++ head/devel/libbobcat/Makefile Tue Dec 4 18:50:35 2012 (r308261)
@@ -75,7 +75,7 @@ post-patch:
s|-lX11|-lX11 -L${LOCALBASE}/lib| ; \
s|-lmilter|-lmilter -lpthread|' \
${WRKSRC}/icmake/special
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's|#define DOCOTHER||' \
${WRKSRC}/INSTALL.im
.endif
More information about the svn-ports-all
mailing list