git: b0c8a9b8177e - main - graphics/libwmf: Clean up Makefile and patch files

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 29 Jul 2024 12:46:06 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0c8a9b8177e01413040f82d99a17d67e20d923f

commit b0c8a9b8177e01413040f82d99a17d67e20d923f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-29 12:38:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-29 12:38:59 +0000

    graphics/libwmf: Clean up Makefile and patch files
    
    - Clean up:
      - Add CONFIGURE_ARGS=--with-freetype=${LOCALBASE}
      - Remove USES=autoreconf:build
      - Remove pre-configure: and post-configure:
      - Remove patch-configure.ac
    - Sort LIB_DEPENDS
    - Convert PORTDOCS to PLIST entries
    - Use CONFLICTS_INSTALL instead of CONFLICTS
    - Simplify CONFLICTS_INSTALL
    - Sort OPTIONS_DEFINE
    - Rename patch file
    - Cosmetic change
    - Sort PLIST
    - Update pkg-descr
    - Take maintainership
---
 graphics/libwmf-nox11/Makefile                     |   9 +-
 graphics/libwmf/Makefile                           |  55 ++---
 graphics/libwmf/files/patch-configure.ac           |  55 -----
 .../{patch-src_extra_gd_gd__png.c => patch-png}    |   0
 graphics/libwmf/pkg-descr                          |   8 +-
 graphics/libwmf/pkg-plist                          | 245 ++++++++++++++++++++-
 6 files changed, 274 insertions(+), 98 deletions(-)

diff --git a/graphics/libwmf-nox11/Makefile b/graphics/libwmf-nox11/Makefile
index c35685c67bd6..cb3def8ea4e3 100644
--- a/graphics/libwmf-nox11/Makefile
+++ b/graphics/libwmf-nox11/Makefile
@@ -1,8 +1,9 @@
 PKGNAMESUFFIX=	-nox11
-PORTSCOUT=	ignore:1
 
-CONFLICTS=	libwmf
+OPTIONS_EXCLUDE=X11
+
 MASTERDIR=	${.CURDIR}/../libwmf
-OPTIONS_EXCLUDE=	X11
 
-.include        "${MASTERDIR}/Makefile"
+PORTSCOUT=	ignore:1
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index d409180662b6..cb791decd836 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,61 +1,50 @@
 PORTNAME=	libwmf
+PORTVERSION=	0.2.13
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.13
 PORTREVISION=	2
 CATEGORIES=	graphics
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Tools and library for converting Microsoft WMF (windows metafile)
-WWW=		https://wvware.sourceforge.net/libwmf.html
+COMMENT=	Library for converting WMF files
+WWW=		https://wvware.sourceforge.net/libwmf.html \
+		https://github.com/caolanm/libwmf
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libpng.so:graphics/png \
+LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libfreetype.so:print/freetype2 \
 		libgd.so:graphics/gd \
-		libexpat.so:textproc/expat2
+		libpng.so:graphics/png
 
-USES=		autoreconf:build cpe gnome jpeg libtool localbase pkgconfig
-USE_GITHUB=	yes
-GH_ACCOUNT=	caolanm
+USES=		cpe gnome jpeg libtool localbase pkgconfig
 USE_GNOME=	gdkpixbuf2
-USE_LDCONFIG=	yes
-CPE_VENDOR=	wvware
 
+CONFIGURE_ARGS=	--with-fontdir=${LOCALBASE}/share/libwmf/fonts \
+		--with-freetype=${LOCALBASE} \
+		--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts
 INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+
+CONFLICTS_INSTALL=	libwmf libwmf-nox11
 
-CONFLICTS?=	libwmf-nox11
+CPE_VENDOR=	wvware
 
-PORTDOCS=	*
+USE_GITHUB=	yes
+GH_ACCOUNT=	caolanm
 
-OPTIONS_DEFINE=	X11 DOCS
+OPTIONS_DEFINE=	DOCS X11
 OPTIONS_DEFAULT=X11
 OPTIONS_SUB=	yes
 
-X11_USES=	xorg
+X11_CONFIGURE_OFF=	--with-x=no
 X11_USE=	XORG=x11
-X11_CONFIGURE_OFF=--with-x=no
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|@LIBWMF_GDK_PIXBUF_TRUE@|#|g ; \
-		 s|@LIBWMF_GDK_PIXBUF_FALSE@||g ; \
-		 s|: install-loaderLTLIBRARIES|:|g' ${WRKSRC}/src/Makefile.in
-
-pre-configure:
-	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} AUTOHEADER="${TRUE}" \
-	 ${LOCALBASE}/bin/autoreconf -vif -Ipatches)
-
-post-configure:
-	@${REINPLACE_CMD} -e 's|autoheader|autoheader -Ipatches|g' \
-		${WRKSRC}/Makefile
+X11_USES=	xorg
 
 post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \
-		${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ "! -name Makefile ! -name Makefile.am ! -name Makefile.in"
 
 .include <bsd.port.mk>
diff --git a/graphics/libwmf/files/patch-configure.ac b/graphics/libwmf/files/patch-configure.ac
deleted file mode 100644
index a0f0de3256d0..000000000000
--- a/graphics/libwmf/files/patch-configure.ac
+++ /dev/null
@@ -1,55 +0,0 @@
---- configure.ac.orig	2023-04-17 11:39:47 UTC
-+++ configure.ac
-@@ -1,5 +1,5 @@
--dnl Process this file with autoconf to produce a configure script.
- AC_INIT(src/player.c)
-+dnl Process this file with autoconf to produce a configure script.  AC_INIT(src/player.c)
- 
- LIBWMF_PACKAGE=libwmf
- AC_SUBST(LIBWMF_PACKAGE)
-@@ -391,37 +391,16 @@ AC_ARG_WITH(freetype,[  --with-freetype=DIR     use fr
- 	fi
- ])
- 
--if [ test -n "$FREETYPE_DIR" ]; then
--	AC_PATH_PROG(FREETYPE_CONFIG,freetype-config, ,[$FREETYPE_DIR/bin:$PATH])
--else
--	AC_PATH_PROG(FREETYPE_CONFIG,freetype-config)
--fi
-+PKG_CHECK_MODULES(FREETYPE2, freetype2, 
-+    CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
-+    LDFLAGS="$LDFLAGS $FREETYPE2_LIBS",
-+    AC_MSG_ERROR([*** Unable to find FreeType2 library (http://www.freetype.org/)])
-+)
- 
--if [ test -n "$FREETYPE_CONFIG" ]; then
--	if [ test -n "$FREETYPE_DIR" ]; then
--		freetype_cflags="`$FREETYPE_CONFIG --cflags` -I$FREETYPE_DIR/include"
--		freetype_libs=`$FREETYPE_CONFIG --libs`
--	else
--		freetype_cflags=`$FREETYPE_CONFIG --cflags`
--		freetype_libs=`$FREETYPE_CONFIG --libs`
--	fi
--else
--	if [ test -n "$FREETYPE_DIR" ]; then
--		freetype_cflags="-I$FREETYPE_DIR/include/freetype2 -I$FREETYPE_DIR/include"
--		freetype_libs="-L$FREETYPE_DIR/lib -lfreetype"
--	else
--		freetype_cflags=""
--		freetype_libs="-lfreetype"
--	fi
--fi
--
--CPPFLAGS="$freetype_cflags $CPPFLAGS"
--LDFLAGS="$LDFLAGS $freetype_libs"
--
- PKG_CHECK_MODULES(FT2, freetype2)
--WMF_FT_LDFLAGS=$FT2_LIBS
--WMF_FT_CFLAGS=$FT2_CFLAGS
--WMF_FT_CONFIG_CFLAGS=$FT2_CFLAGS
-+WMF_FT_LDFLAGS="$FREETYPE2_LIBS"
-+WMF_FT_CFLAGS="$FREETYPE2_CFLAGS"
-+WMF_FT_CONFIG_CFLAGS="$FREETYPE2_CFLAGS"
- 
- GD_DEFS="$GD_DEFS -DHAVE_LIBFREETYPE"
- 
diff --git a/graphics/libwmf/files/patch-src_extra_gd_gd__png.c b/graphics/libwmf/files/patch-png
similarity index 100%
rename from graphics/libwmf/files/patch-src_extra_gd_gd__png.c
rename to graphics/libwmf/files/patch-png
diff --git a/graphics/libwmf/pkg-descr b/graphics/libwmf/pkg-descr
index 8414de9521bf..3ba72f73843a 100644
--- a/graphics/libwmf/pkg-descr
+++ b/graphics/libwmf/pkg-descr
@@ -1,4 +1,4 @@
-libwmf is a library for Unix like machines that can convert wmf
-files into other formats, currently it supports a gd binding
-to convert to png, and an X one to draw direct to an X window
-or pixmap.
+ibwmf is a library for reading vector images in Microsøft's native Windøws
+Metafile Format (WMF) and for either (a) displaying them in, e.g., an X window;
+or (b) converting them to more standard/open file formats such as, e.g., the
+W3C's XML-based Scaleable Vector Graphic (SVG) format.
diff --git a/graphics/libwmf/pkg-plist b/graphics/libwmf/pkg-plist
index 838166ad5cda..20d8ca5cdf66 100644
--- a/graphics/libwmf/pkg-plist
+++ b/graphics/libwmf/pkg-plist
@@ -14,6 +14,7 @@ include/libwmf/fig.h
 include/libwmf/font.h
 include/libwmf/foreign.h
 include/libwmf/fund.h
+include/libwmf/gd.h
 include/libwmf/gd/gd.h
 include/libwmf/gd/gd_clip.h
 include/libwmf/gd/gd_io.h
@@ -23,7 +24,6 @@ include/libwmf/gd/gdfontl.h
 include/libwmf/gd/gdfontmb.h
 include/libwmf/gd/gdfonts.h
 include/libwmf/gd/gdfontt.h
-include/libwmf/gd.h
 include/libwmf/ipa.h
 include/libwmf/macro.h
 include/libwmf/svg.h
@@ -40,7 +40,247 @@ lib/libwmflite-0.2.so.7.0.6
 lib/libwmflite.a
 lib/libwmflite.so
 libdata/pkgconfig/libwmf.pc
-%%DATADIR%%/fonts/fontmap
+%%PORTDOCS%%%%DOCSDIR%%/caolan/2.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Arc.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/BitBlt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Bmpfrmat.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Chord.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/CreateBrushIndirect.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/CreatePenIndirect.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/CreateRegion.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/DeleteObject.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/DibBitBlt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/DibCreatePatternBrush.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/dibs.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/DibStretchBlt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Ellipse.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/esc.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ExcludeClipRect.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ExtFloodFill.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ExtTextOut.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/FillRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/FloodFill.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/FrameRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/index.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/IntersectClipRect.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/InvertRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/LineTo.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/mapmode.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/MoveTo.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/msmeta01.gif
+%%PORTDOCS%%%%DOCSDIR%%/caolan/msmeta02.gif
+%%PORTDOCS%%%%DOCSDIR%%/caolan/msmeta03.gif
+%%PORTDOCS%%%%DOCSDIR%%/caolan/msmeta04.gif
+%%PORTDOCS%%%%DOCSDIR%%/caolan/OffsetClipRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/OffsetViewportOrg.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/OffsetWindowOrg.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ora-clp.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ora-wmf.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/PaintRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/PatBlt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/pics/weave.jpg
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Pie.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Polygon.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Polyline.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/PolyPolygon.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/Rectangle.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/RestoreDC.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/rop.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/RoundRect.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SaveDC.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ScaleViewportExt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/ScaleWindowExt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SelectClipRgn.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SelectObject.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetBkColor.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetBkMode.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetDIBitsToDevice.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetMapMode.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetMapperFlags.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetPixel.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetPolyFillMode.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetROP2.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetStretchBltMode.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetTextAlign.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetTextCharacterExtra.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetTextColor.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetTextJustification.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetViewportExt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetViewportOrg.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetWindowExt.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/SetWindowOrg.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/StretchDib.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/support.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/support2.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/template.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/TextOut.html
+%%PORTDOCS%%%%DOCSDIR%%/caolan/unknown.html
+%%PORTDOCS%%%%DOCSDIR%%/dlayer.html
+%%PORTDOCS%%%%DOCSDIR%%/gd.html
+%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bbuf_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/canvas_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classes.html
+%%PORTDOCS%%%%DOCSDIR%%/html/clip_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/coord_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/dc_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/defaults_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/defs_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/eps_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/eps_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/eps_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/eps_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/eps_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fig_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fig_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fig_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fig_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fig_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/files.html
+%%PORTDOCS%%%%DOCSDIR%%/html/font_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/foreign_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/foreign_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fund_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/gd_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/html/include_2libwmf_2color_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/include_2libwmf_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/io-wmf_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2eps_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2fig_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2magick_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2plot_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2svg_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2x_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_2xgd_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ipa_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/macro_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/magick_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/magick_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/magick_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/magick_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/magick_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/meta_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/meta_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/metadefs_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/player_2region_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/player_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/plot_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/plot_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/plot_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/plot_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/plot_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/record_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/recorder_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/recorder_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2fig_2color_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2fig_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2ipa_2color_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2ipa_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2x_2color_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2x_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2ipa_2xgd_2font_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/src_2player_2color_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/stream_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__eps__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__fig__t_1_1__wmf__fig__image.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__fig__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__foreign__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__gd__t_1_1__wmf__gd__sink.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__gd__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__magick__t_1_1__wmf__magick__image.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__magick__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__plot__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__svg__t_1_1__wmf__svg__image.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__svg__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__template__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmf__x__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfAPI__Options.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfAPI.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfAttributes.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfAttributeStore.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfBMP__Draw__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfBMP__Read__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfBMP.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfBrush.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfCanvasBrush.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfCanvasFont.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfCanvasPen.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfColorData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfConstruct.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfD__Coord.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfD__Rect.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDC.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDrawArc__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDrawLine__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDrawPixel__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDrawRectangle__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfDrawText__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFlood__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFont.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFontData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFontMap.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFontmapData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFT__CacheEntry.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFT__Mapping.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfFunctionReference.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfGS__FontData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfGS__FontInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfHead.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfImage.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfIPAFont.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfMapping.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfMetaHeader.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfPen.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfPlaceableMetaHeader.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfPolyLine__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfPolyPoly__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfPolyRectangle__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfRecordBox.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfRGB.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfROP__Draw__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfStream.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfUserData__t.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfWriteFileInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfXML__FontData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfXML__FontInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/struct__wmfXML__InputData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structWmfContext.html
+%%PORTDOCS%%%%DOCSDIR%%/html/svg_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/svg_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/svg_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/svg_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/svg_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/template_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/template_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/types_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/wmf_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xgd_2bmp_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xgd_2device_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xgd_2draw_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xgd_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xml_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/xml_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/smlogo2.gif
+%%PORTDOCS%%%%DOCSDIR%%/tutapi.html
+%%PORTDOCS%%%%DOCSDIR%%/tutipa.html
+%%PORTDOCS%%%%DOCSDIR%%/wmfpic.png
 %%DATADIR%%/fonts/NimbusMonoPS-Bold.afm
 %%DATADIR%%/fonts/NimbusMonoPS-Bold.t1
 %%DATADIR%%/fonts/NimbusMonoPS-BoldItalic.afm
@@ -67,3 +307,4 @@ libdata/pkgconfig/libwmf.pc
 %%DATADIR%%/fonts/NimbusSans-Regular.t1
 %%DATADIR%%/fonts/StandardSymbolsPS.afm
 %%DATADIR%%/fonts/StandardSymbolsPS.t1
+%%DATADIR%%/fonts/fontmap