Lines 29-37
PORTEXAMPLES= *
Link Here
|
29 |
# chase graphics/jpeg |
29 |
# chase graphics/jpeg |
30 |
SOVERSION= 11 |
30 |
SOVERSION= 11 |
31 |
|
31 |
|
32 |
OPTIONS_DEFINE= PIC |
32 |
OPTIONS_DEFINE= DOCS EXAMPLES PIC |
33 |
PIC_DESC= Static library with PIC (required for VirtualGL) |
33 |
PIC_DESC= Static library with PIC (required for VirtualGL) |
34 |
|
34 |
|
|
|
35 |
DOCS_MAKE_ARGS= docdir="${DOCSDIR}" |
36 |
DOCS_MAKE_ARGS_OFF= dist_doc_DATA="" |
37 |
|
38 |
EXAMPLES_MAKE_ARGS= exampledir="${EXAMPLESDIR}" |
39 |
EXAMPLES_MAKE_ARGS_OFF= dist_example_DATA="" |
40 |
|
35 |
PIC_CONFIGURE_ON= --with-pic |
41 |
PIC_CONFIGURE_ON= --with-pic |
36 |
|
42 |
|
37 |
.if defined(SLAVE_PORT) |
43 |
.if defined(SLAVE_PORT) |
Lines 39-51
PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG=""
Link Here
|
39 |
.else |
45 |
.else |
40 |
PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment " |
46 |
PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment " |
41 |
CONFLICTS_INSTALL= jpeg-[0-9]* |
47 |
CONFLICTS_INSTALL= jpeg-[0-9]* |
42 |
OPTIONS_DEFINE+=DOCS EXAMPLES |
|
|
43 |
CONFIGURE_ARGS+=--without-libturbojpeg |
48 |
CONFIGURE_ARGS+=--without-libturbojpeg |
44 |
.endif |
49 |
.endif |
45 |
|
50 |
|
46 |
post-patch: |
|
|
47 |
${REINPLACE_CMD} -e '/^docdir/s,=.*,= ${DOCSDIR},' \ |
48 |
-e '/^exampledir/s,=.*,= ${EXAMPLESDIR},' \ |
49 |
${WRKSRC}/Makefile.in |
50 |
|
51 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |