Date: Sat, 22 May 2010 05:40:04 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/146815: Update port: devel/directfb update to 1.4.3 Message-ID: <201005220540.o4M5e43v062202@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/146815; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: Anatoly Borodin <anatoly.borodin@gmail.com> 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 <bsd.port.options.mk> +.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|<alloca\.h>|<stdlib.h>|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 <bsd.port.post.mk> --- a.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005220540.o4M5e43v062202>