From owner-svn-ports-all@FreeBSD.ORG Mon Oct 22 17:50:14 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DC90DDE; Mon, 22 Oct 2012 17:50:14 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 53B958FC08; Mon, 22 Oct 2012 17:50:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9MHoE2t061371; Mon, 22 Oct 2012 17:50:14 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9MHoEoR061369; Mon, 22 Oct 2012 17:50:14 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201210221750.q9MHoEoR061369@svn.freebsd.org> From: "Jason E. Hale" Date: Mon, 22 Oct 2012 17:50:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306280 - head/devel/gwenhywfar X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 17:50:14 -0000 Author: jhale Date: Mon Oct 22 17:50:13 2012 New Revision: 306280 URL: http://svn.freebsd.org/changeset/ports/306280 Log: - Generate plist for DOXYGEN option independent of the PORTDOCS macro to avoid problems if NOPORTDOCS is defined Approved by: makc (mentor, implicit) Feature safe: yes Modified: head/devel/gwenhywfar/Makefile (contents, props changed) Modified: head/devel/gwenhywfar/Makefile ============================================================================== --- head/devel/gwenhywfar/Makefile Mon Oct 22 17:36:37 2012 (r306279) +++ head/devel/gwenhywfar/Makefile Mon Oct 22 17:50:13 2012 (r306280) @@ -40,11 +40,10 @@ GWEN_SHLIB_VER= 60 .include -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} +.if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CONFIGURE_ARGS+=--enable-full-doc -PORTDOCS= apidoc .endif .if ${PORT_OPTIONS:MMEMDEBUG} @@ -79,15 +78,19 @@ post-patch: .endif post-build: -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} +.if ${PORT_OPTIONS:MDOXYGEN} @cd ${WRKSRC} && ${GMAKE} srcdoc .endif post-install: -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} +.if ${PORT_OPTIONS:MDOXYGEN} ${MKDIR} ${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc + @${FIND} -P ${DOCSDIR} -type f 2>/dev/null | \ + ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} + @${FIND} -P -d ${DOCSDIR} -type d 2>/dev/null | \ + ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST} .endif .include