Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 09:03:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416584 - in head/devel/ccdoc: . files
Message-ID:  <201606090903.u5993s8X078641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun  9 09:03:54 2016
New Revision: 416584
URL: https://svnweb.freebsd.org/changeset/ports/416584

Log:
  - Switch to options helpers
  - Silence patching
  - Regenerate patches with `make makepatch`

Modified:
  head/devel/ccdoc/Makefile
  head/devel/ccdoc/files/patch-mkopt_gcc.mk

Modified: head/devel/ccdoc/Makefile
==============================================================================
--- head/devel/ccdoc/Makefile	Thu Jun  9 03:44:47 2016	(r416583)
+++ head/devel/ccdoc/Makefile	Thu Jun  9 09:03:54 2016	(r416584)
@@ -25,7 +25,7 @@ PORTDOCS=	*
 OPTIONS_DEFINE=	DOCS
 
 do-configure:
-	${REINPLACE_CMD} -e "s:%%PERL%%:${PERL}:" \
+	@${REINPLACE_CMD} -e "s:%%PERL%%:${PERL}:" \
 		-e "s:%%CXX%%:${CXX}:" \
 		-e "s:%%CXXFLAGS%%:${CXXFLAGS}:" \
 		-e "s:-pedantic::" \
@@ -34,7 +34,10 @@ do-configure:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/../bin_opt_gcc_/ccdoc.exe \
 		${STAGEDIR}${PREFIX}/bin/ccdoc
-	${INSTALL_MAN} ${WRKSRC}/../doc/htdocs/ccdoc.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
+	${INSTALL_MAN} ${WRKSRC}/../doc/htdocs/ccdoc.man \
+		${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
+
+do-install-DOCS-on:
 	cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/devel/ccdoc/files/patch-mkopt_gcc.mk
==============================================================================
--- head/devel/ccdoc/files/patch-mkopt_gcc.mk	Thu Jun  9 03:44:47 2016	(r416583)
+++ head/devel/ccdoc/files/patch-mkopt_gcc.mk	Thu Jun  9 09:03:54 2016	(r416584)
@@ -1,5 +1,5 @@
---- mkopt_gcc.mk.orig	Tue Feb 17 10:33:54 2004
-+++ mkopt_gcc.mk	Tue Feb 17 10:36:57 2004
+--- mkopt_gcc.mk.orig	2004-10-06 16:35:47 UTC
++++ mkopt_gcc.mk
 @@ -1,17 +1,17 @@
  # ================================================
  # GCC compiler, optimized mode, any platform.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606090903.u5993s8X078641>