Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
PORTNAME= mupdf |
7 |
PORTNAME= mupdf |
8 |
PORTVERSION= 0.8.165 |
8 |
PORTVERSION= 0.8.165 |
9 |
PORTREVISION= 2 |
9 |
PORTREVISION= 3 |
10 |
PORTEPOCH= 1 |
10 |
PORTEPOCH= 1 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= GOOGLE_CODE \ |
12 |
MASTER_SITES= GOOGLE_CODE \ |
Lines 22-28
Link Here
|
22 |
openjpeg.2:${PORTSDIR}/graphics/openjpeg |
22 |
openjpeg.2:${PORTSDIR}/graphics/openjpeg |
23 |
|
23 |
|
24 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
25 |
MAKE_ARGS+= build=native prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man |
25 |
MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man |
26 |
USE_XORG= x11 xext |
26 |
USE_XORG= x11 xext |
27 |
USE_GNOME= pkgconfig |
27 |
USE_GNOME= pkgconfig |
28 |
MAN1= mupdf.1 mu_pdfclean.1 mu_pdfdraw.1 mu_pdfshow.1 |
28 |
MAN1= mupdf.1 mu_pdfclean.1 mu_pdfdraw.1 mu_pdfshow.1 |
Lines 36-41
Link Here
|
36 |
|
36 |
|
37 |
.include <bsd.port.options.mk> |
37 |
.include <bsd.port.options.mk> |
38 |
|
38 |
|
|
|
39 |
.if ${ARCH} == "amd64" || ${ARCH} == "i386" |
40 |
CFLAGS+= -mfpmath=sse |
41 |
.endif |
42 |
|
39 |
.if defined(WITH_SCROLL) |
43 |
.if defined(WITH_SCROLL) |
40 |
EXTRA_PATCHES+= ${FILESDIR}/scroll_hack-apps_pdfapp.c |
44 |
EXTRA_PATCHES+= ${FILESDIR}/scroll_hack-apps_pdfapp.c |
41 |
.endif |
45 |
.endif |
Lines 60-68
Link Here
|
60 |
${FIND} ${WRKSRC} -name pdf\*.1 -exec ${SH} -c 'mv {} $$(dirname {})/mu_$$(basename {})' \; |
64 |
${FIND} ${WRKSRC} -name pdf\*.1 -exec ${SH} -c 'mv {} $$(dirname {})/mu_$$(basename {})' \; |
61 |
|
65 |
|
62 |
.include <bsd.port.pre.mk> |
66 |
.include <bsd.port.pre.mk> |
63 |
|
|
|
64 |
.if ${ARCH} == "sparc64" |
65 |
BROKEN= Does not compile on sparc64 : uses i386-specific options |
66 |
.endif |
67 |
|
68 |
.include <bsd.port.post.mk> |
67 |
.include <bsd.port.post.mk> |