forked from Lainports/freebsd-ports
Installing libgd-2.3.3_3,1... `-- Installing libavif-0.11.1... | `-- Installing aom-3.5.0... | | `-- Installing libjxl-0.7.0... | | `-- Installing gdk-pixbuf2-2.42.10... | | | `-- Installing glib-2.74.1,2... ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so is linked to /usr/local/lib/libgdk_pixbuf-2.0.so.0 from graphics /gdk-pixbuf2 but it is not declared as a dependency Warning: you need USE_GNOME+=gdkpixbuf2 Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so is linked to /usr/local/lib/libgobject-2.0.so.0 from devel/glib20 but it is not declared as a dependency Warning: you need USE_GNOME+=glib20 Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so is linked to /usr/local/lib/libglib-2.0.so.0 from devel/glib20 but it is not declared as a dependency Warning: you need USE_GNOME+=glib20 Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so is linked to /usr/local/lib/libintl.so.8 from devel/gettext-runtime but it is not declared as a dependency Warning: you need USES+=gettext-runtime ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.a Error: Orphaned: lib/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so ===> Checking for items in pkg-plist which are not in STAGEDIR ===> Error: Plist issues found. *** Error code 1
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
PORTNAME= libwmf
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tools and library for converting Microsoft WMF (windows metafile)
|
|
WWW= http://wvware.sourceforge.net/libwmf.html
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libfreetype.so:print/freetype2 \
|
|
libgd.so:graphics/gd \
|
|
libexpat.so:textproc/expat2
|
|
|
|
USES= autoreconf:build cpe gnome jpeg libtool localbase pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_GNOME= gdkpixbuf2
|
|
GH_ACCOUNT= caolanm
|
|
USE_LDCONFIG= yes
|
|
CPE_VENDOR= wvware
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PORTDOCS= *
|
|
|
|
CONFLICTS?= libwmf-nox11
|
|
|
|
OPTIONS_DEFINE= X11 DOCS
|
|
OPTIONS_DEFAULT=X11
|
|
OPTIONS_SUB= yes
|
|
|
|
X11_USES= xorg
|
|
X11_USE= XORG=x11
|
|
X11_CONFIGURE_OFF=--with-x=no
|
|
|
|
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
|
|
|
|
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
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
|
|
|
|
.include <bsd.port.mk>
|