Date: Fri, 7 Feb 2014 13:11:08 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343234 - head/graphics/libafterimage Message-ID: <201402071311.s17DB8SP023756@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Fri Feb 7 13:11:08 2014 New Revision: 343234 URL: http://svnweb.freebsd.org/changeset/ports/343234 QAT: https://qat.redports.org/buildarchive/r343234/ Log: - Fix build - Stage support PR: 185933 Submitted by: Ports Fury Modified: head/graphics/libafterimage/Makefile head/graphics/libafterimage/pkg-plist Modified: head/graphics/libafterimage/Makefile ============================================================================== --- head/graphics/libafterimage/Makefile Fri Feb 7 13:10:20 2014 (r343233) +++ head/graphics/libafterimage/Makefile Fri Feb 7 13:11:08 2014 (r343234) @@ -11,17 +11,16 @@ DISTNAME= libAfterImage-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Generic imaging library originally designed for AfterStep -BROKEN= Fails to build - -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - gif.5:${PORTSDIR}/graphics/giflib \ - png15:${PORTSDIR}/graphics/png \ - tiff.4:${PORTSDIR}/graphics/tiff \ - freetype.9:${PORTSDIR}/print/freetype2 - LICENSE= LGPL21 +LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libfreetype.so:${PORTSDIR}/print/freetype2 + USE_BZIP2= yes +USES= pkgconfig USE_XORG= xext USE_GNOME= librsvg2 GNU_CONFIGURE= yes @@ -31,30 +30,26 @@ CONFIGURE_ARGS= --disable-staticlibs --e USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes -MAN1= ascompose.1x - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.pre.mk> +OPTIONS_DEFINE_amd64= MMX +OPTIONS_DEFINE_i386= MMX + +MMX_CONFIGURE_ENABLE= mmx-optimization -.if ${MACHINE_CPU:Mmmx} -CONFIGURE_ARGS+= --enable-mmx-optimization -.else -CONFIGURE_ARGS+= --disable-mmx-optimization -.endif +.include <bsd.port.options.mk> post-extract: @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage post-patch: - @${REINPLACE_CMD} -e 's|CFLAGS="-O3"||g ; \ - s| malloc\.h | |g' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|CFLAGS="-O3"||g ; \ + s| malloc\.h | |g' ${WRKSRC}/configure post-install: - ${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \ - ${MANPREFIX}/man/man1/ascompose.1x + (cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \ + ${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x) -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/graphics/libafterimage/pkg-plist ============================================================================== --- head/graphics/libafterimage/pkg-plist Fri Feb 7 13:10:20 2014 (r343233) +++ head/graphics/libafterimage/pkg-plist Fri Feb 7 13:11:08 2014 (r343234) @@ -1,7 +1,7 @@ bin/afterimage-config bin/afterimage-libs -bin/ascompose bin/ascheckttf +bin/ascompose bin/asflip bin/asgrad bin/asi18n @@ -37,4 +37,5 @@ include/libAfterImage/xpm.h include/libAfterImage/xwrap.h lib/libAfterImage.so lib/libAfterImage.so.0 +man/man1/ascompose.1x.gz @dirrm include/libAfterImage
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402071311.s17DB8SP023756>