Date: Sun, 10 Mar 2013 06:50:17 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313811 - head/graphics/giflib Message-ID: <201303100650.r2A6oH95088679@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Sun Mar 10 06:50:17 2013 New Revision: 313811 URL: http://svnweb.freebsd.org/changeset/ports/313811 Log: - new option DOCBOOK (default off) Modified: head/graphics/giflib/Makefile head/graphics/giflib/pkg-plist Modified: head/graphics/giflib/Makefile ============================================================================== --- head/graphics/giflib/Makefile Sun Mar 10 06:40:30 2013 (r313810) +++ head/graphics/giflib/Makefile Sun Mar 10 06:50:17 2013 (r313811) @@ -3,6 +3,7 @@ PORTNAME= giflib PORTVERSION= 4.2.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x PKGNAMESUFFIX= ${NOX11SUFFIX}${PKGNAMESUFFIX2} @@ -17,11 +18,17 @@ USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCBOOK +DOCBOOK_DESC= Generate API documentation (requires DOCS) + .include <bsd.port.pre.mk> -.if ${PORT_OPTIONS:MDOCS} +.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto \ ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk +PLIST_SUB+= WITH_DOCBOOK='' +.else +PLIST_SUB+= WITH_DOCBOOK='@comment ' .endif .if defined(WITHOUT_X11) @@ -36,13 +43,13 @@ CPPFLAGS+= -I${LOCALBASE}/include post-patch: ${CP} ${FILESDIR}/quantize.c ${WRKSRC}/lib/ -.if ! ${PORT_OPTIONS:MDOCS} +.if ! ${PORT_OPTIONS:MDOCBOOK} || ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|SUBDIRS = lib util doc pic|SUBDIRS = lib util pic|' \ ${WRKSRC}/Makefile.in .endif +.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} Modified: head/graphics/giflib/pkg-plist ============================================================================== --- head/graphics/giflib/pkg-plist Sun Mar 10 06:40:30 2013 (r313810) +++ head/graphics/giflib/pkg-plist Sun Mar 10 06:50:17 2013 (r313811) @@ -31,35 +31,35 @@ lib/libgif.a lib/libgif.la lib/libgif.so lib/libgif.so.5 -%%PORTDOCS%%%%DOCSDIR%%/gif2rgb.html -%%PORTDOCS%%%%DOCSDIR%%/gif2x11.html -%%PORTDOCS%%%%DOCSDIR%%/gif89.txt -%%PORTDOCS%%%%DOCSDIR%%/gif_lib.html -%%PORTDOCS%%%%DOCSDIR%%/gifasm.html -%%PORTDOCS%%%%DOCSDIR%%/gifbg.html -%%PORTDOCS%%%%DOCSDIR%%/gifclip.html -%%PORTDOCS%%%%DOCSDIR%%/gifclrmp.html -%%PORTDOCS%%%%DOCSDIR%%/gifcolor.html -%%PORTDOCS%%%%DOCSDIR%%/gifcomb.html -%%PORTDOCS%%%%DOCSDIR%%/gifcompose.html -%%PORTDOCS%%%%DOCSDIR%%/giffiltr.html -%%PORTDOCS%%%%DOCSDIR%%/giffix.html -%%PORTDOCS%%%%DOCSDIR%%/gifflip.html -%%PORTDOCS%%%%DOCSDIR%%/gifhisto.html -%%PORTDOCS%%%%DOCSDIR%%/gifinter.html -%%PORTDOCS%%%%DOCSDIR%%/gifinto.html -%%PORTDOCS%%%%DOCSDIR%%/gifovly.html -%%PORTDOCS%%%%DOCSDIR%%/gifpos.html -%%PORTDOCS%%%%DOCSDIR%%/gifrotat.html -%%PORTDOCS%%%%DOCSDIR%%/gifrsize.html -%%PORTDOCS%%%%DOCSDIR%%/gifspnge.html -%%PORTDOCS%%%%DOCSDIR%%/giftext.html -%%PORTDOCS%%%%DOCSDIR%%/gifwedge.html -%%PORTDOCS%%%%DOCSDIR%%/icon2gif.html -%%PORTDOCS%%%%DOCSDIR%%/intro.html -%%PORTDOCS%%%%DOCSDIR%%/liberror.html -%%PORTDOCS%%%%DOCSDIR%%/lzgif.txt -%%PORTDOCS%%%%DOCSDIR%%/raw2gif.html -%%PORTDOCS%%%%DOCSDIR%%/rgb2gif.html -%%PORTDOCS%%%%DOCSDIR%%/text2gif.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%WITH_DOCBOOK%%%%DOCSDIR%%/gif2rgb.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gif2x11.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gif89.txt +%%WITH_DOCBOOK%%%%DOCSDIR%%/gif_lib.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifasm.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifbg.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifclip.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifclrmp.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifcolor.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifcomb.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifcompose.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/giffiltr.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/giffix.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifflip.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifhisto.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifinter.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifinto.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifovly.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifpos.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifrotat.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifrsize.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifspnge.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/giftext.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/gifwedge.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/icon2gif.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/intro.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/liberror.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/lzgif.txt +%%WITH_DOCBOOK%%%%DOCSDIR%%/raw2gif.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/rgb2gif.html +%%WITH_DOCBOOK%%%%DOCSDIR%%/text2gif.html +%%WITH_DOCBOOK%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303100650.r2A6oH95088679>