diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-10-07 04:31:12 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-10-07 04:31:12 +0800 |
commit | bc78c124244fffe23a1205979b9bd2a417457762 (patch) | |
tree | 04b58c32b2d05d90e4632b04dbffc70f98d20cd4 /graphics/mupdf/Makefile | |
parent | 6f84558388cf09a25cc928f4cd55d06d8a1c9ec3 (diff) | |
download | freebsd-ports-graphics-bc78c124244fffe23a1205979b9bd2a417457762.tar.gz freebsd-ports-graphics-bc78c124244fffe23a1205979b9bd2a417457762.tar.zst freebsd-ports-graphics-bc78c124244fffe23a1205979b9bd2a417457762.zip |
- Upate to 0.7
- Unbreak
PR: ports/150698
Submitted by: swell.k@gmail.com
Approved by: Martin Dieringer <martin.dieringer@gmx.de> (maintainer)
Diffstat (limited to 'graphics/mupdf/Makefile')
-rw-r--r-- | graphics/mupdf/Makefile | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile index 63b98a17f56..c1a85b5dce9 100644 --- a/graphics/mupdf/Makefile +++ b/graphics/mupdf/Makefile @@ -5,11 +5,10 @@ # $FreeBSD$ PORTNAME= mupdf -PORTVERSION= 0.6 -PORTREVISION= 1 +PORTVERSION= 0.7 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= http://www.mupdf.com/download/source/ +MASTER_SITES= http://www.mupdf.com/download/ MAINTAINER= martin.dieringer@gmx.de COMMENT= Lightweight PDF viewer and toolkit @@ -19,11 +18,8 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ jbig2dec.0:${PORTSDIR}/graphics/jbig2dec \ openjpeg.2:${PORTSDIR}/graphics/openjpeg -BROKEN= does not build - USE_GMAKE= yes -MAKE_ARGS+= build=release prefix=${PREFIX} -WRKSRC= ${WRKDIR}/${PORTNAME} +MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 USE_XORG= x11 xext USE_GNOME= pkgconfig USE_GCC= 4.2+ @@ -33,28 +29,16 @@ MAKE_JOBS_SAFE= yes LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -.include <bsd.port.options.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Does not install on sparc64 -.elif ${ARCH} == amd64 -CFLAGS+= -DARCH_X86_64 -.else -CFLAGS+= -DARCH_X86 -.endif - post-patch: .SILENT ${REINPLACE_CMD} -e 's#\(PDF.*_EXE=.*DIR./\)#\1mu_#g' \ - -e 's/@[[:space:]]*echo[^&]*&&//' \ + -e '/install:/,/^$$/ { /-d/d; }' \ + -e '/install.*bin$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \ + -e '/install.*lib$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \ + -e '/install.*include$$/s/install/$$(BSD_INSTALL_DATA)/' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's/LAGS :=/LAGS +=/g' \ - -e 's/Linux/FreeBSD/g' \ - -e '/^CC/s/=/?=/' \ - -e '/-O3/d' \ - -e '/-msse/d' \ + -e 's/-O2//' -e 's/-g//' \ + -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/Makerules .include <bsd.port.mk> |