From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 22 05:40:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87BD01065670 for ; Sat, 22 May 2010 05:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 772DA8FC0A for ; Sat, 22 May 2010 05:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4M5e4PC062205 for ; Sat, 22 May 2010 05:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4M5e43v062202; Sat, 22 May 2010 05:40:04 GMT (envelope-from gnats) Date: Sat, 22 May 2010 05:40:04 GMT Message-Id: <201005220540.o4M5e43v062202@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/146815: Update port: devel/directfb update to 1.4.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 05:40:04 -0000 The following reply was made to PR ports/146815; it has been noted by GNATS. From: Anonymous To: Anatoly Borodin Cc: bug-followup@FreeBSD.org Subject: Re: ports/146815: Update port: devel/directfb update to 1.4.3 Date: Sat, 22 May 2010 09:33:28 +0400 - lang/perl5.10 is used only during build by tools/gendoc.pl tools/mknames.sh - docs should probably be installed, too --- a.diff begins here --- diff --git devel/directfb/Makefile devel/directfb/Makefile index 73e0395..a351d07 100644 --- devel/directfb/Makefile +++ devel/directfb/Makefile @@ -29,7 +29,7 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_GNOME= gnomehack USE_LDCONFIG= yes -USE_PERL5= yes +USE_PERL5_BUILD=yes DIRECTFB_SHLIB= 3 # LT_CURRENT DIRECTFB_BIN= 0 # LT_BINARY @@ -50,6 +50,13 @@ CONFIGURE_ARGS= --disable-osx --disable-extra-warnings --disable-profiling \ .include +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= man2html:${PORTSDIR}/textproc/man2html +PORTDOCS= * +DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + docs/README* docs/*.html docs/html/*.html docs/html/*.png +.endif + .if defined(WITH_FREETYPE2) LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 CONFIGURE_ARGS+= --enable-freetype @@ -110,4 +117,17 @@ post-patch: @${GREP} -lr alloca\.h ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -e 's|||g' +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR}/html + cd ${WRKSRC} && \ + for f in ${DOCS}; do \ + if [ $${f##*/html/*} ]; then \ + ${INSTALL_DATA} $$f ${DOCSDIR}; \ + else \ + ${INSTALL_DATA} $$f ${DOCSDIR}/html; \ + fi; \ + done +.endif + .include --- a.diff ends here ---