Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
INSTALL_TARGET= install-strip |
18 |
INSTALL_TARGET= install-strip |
19 |
USES= libtool pathfix pkgconfig |
19 |
USES= libtool localbase pathfix pkgconfig |
20 |
USE_GNOME= glib20 |
20 |
USE_GNOME= glib20 |
21 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
22 |
|
22 |
|
Lines 23-40
Link Here
|
23 |
OPTIONS_DEFINE= NETPBM |
23 |
OPTIONS_DEFINE= NETPBM |
24 |
OPTIONS_SUB= yes |
24 |
OPTIONS_SUB= yes |
25 |
|
25 |
|
26 |
NETPBM_DESC= Build with libnetpbm support |
26 |
NETPBM_CONFIGURE_ENV_OFF= ac_cv_lib_netpbm_pgm_init=no |
27 |
NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm |
27 |
NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm |
28 |
|
28 |
|
29 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
post-patch-NETPBM-on: |
30 |
LIBS+= -L${LOCALBASE}/lib |
30 |
@${REINPLACE_CMD} -e 's|<pgm.h>|<netpbm/pgm.h>|' \ |
|
|
31 |
${WRKSRC}/examples/happrox.c |
31 |
|
32 |
|
32 |
.include <bsd.port.options.mk> |
|
|
33 |
|
34 |
post-patch: |
35 |
.if ! ${PORT_OPTIONS:MNETPBM} |
36 |
@${REINPLACE_CMD} -e 's|netpbm="true"|netpbm="false"|' \ |
37 |
${WRKSRC}/configure |
38 |
.endif |
39 |
|
40 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |