Lines 26-34
Link Here
|
26 |
jpeg.9:${PORTSDIR}/graphics/jpeg \ |
26 |
jpeg.9:${PORTSDIR}/graphics/jpeg \ |
27 |
Xft.2:${PORTSDIR}/x11-fonts/libXft |
27 |
Xft.2:${PORTSDIR}/x11-fonts/libXft |
28 |
|
28 |
|
29 |
SNAPSHOT= r5170 |
29 |
SNAPSHOT= r5256 |
30 |
|
30 |
|
31 |
OPTIONS= FLTK_THREADS "Install with threads support" on |
31 |
OPTIONS= FLTK_THREADS "Install with threads support" on \ |
|
|
32 |
FLTK_CAIRO "Use cairo as graphics backend" off |
32 |
|
33 |
|
33 |
LATEST_LINK= fltk2 |
34 |
LATEST_LINK= fltk2 |
34 |
|
35 |
|
Lines 63-68
Link Here
|
63 |
CONFIGURE_ARGS+= --disable-threads |
64 |
CONFIGURE_ARGS+= --disable-threads |
64 |
.endif |
65 |
.endif |
65 |
|
66 |
|
|
|
67 |
.if defined(WITH_FLTK_CAIRO) |
68 |
CONFIGURE_ARGS+= --enable-cairo |
69 |
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo |
70 |
# XXX: |
71 |
# FLTK2's configure check currently depends on pkg-config being available... |
72 |
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config |
73 |
.else |
74 |
CONFIGURE_ARGS+= --disable-cairo |
75 |
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-test-Makefile |
76 |
.endif |
77 |
|
66 |
post-patch: |
78 |
post-patch: |
67 |
${REINPLACE_CMD} -e 's:%%CXX%%:${CXX}:g' \ |
79 |
${REINPLACE_CMD} -e 's:%%CXX%%:${CXX}:g' \ |
68 |
${WRKSRC}/fltk2-config.in \ |
80 |
${WRKSRC}/fltk2-config.in \ |
Lines 72-77
Link Here
|
72 |
.if !defined(NOPORTDOCS) |
84 |
.if !defined(NOPORTDOCS) |
73 |
${MKDIR} ${DOCSDIR} |
85 |
${MKDIR} ${DOCSDIR} |
74 |
cd ${WRKSRC}/documentation && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} |
86 |
cd ${WRKSRC}/documentation && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} |
|
|
87 |
${INSTALL_DATA} ${WRKSRC}/README_fltk1_to_fltk2.txt ${DOCSDIR} |
75 |
.endif |
88 |
.endif |
76 |
|
89 |
|
77 |
.include <bsd.port.post.mk> |
90 |
.include <bsd.port.post.mk> |