View | Details | Raw Unified | Return to bug 241896
Collapse All | Expand All

(-)Makefile (-30 / +9 lines)
Lines 18-28 Link Here
18
		libfontconfig.so:x11-fonts/fontconfig \
18
		libfontconfig.so:x11-fonts/fontconfig \
19
		libfreetype.so:print/freetype2
19
		libfreetype.so:print/freetype2
20
20
21
CPPFLAGS+=	"-I${LOCALBASE}/include"
22
CONFIGURE_ARGS=	--disable-gtk-doc-html --with-html-dir=${PREFIX}/share/doc \
21
CONFIGURE_ARGS=	--disable-gtk-doc-html --with-html-dir=${PREFIX}/share/doc \
23
		--disable-gstreamer
22
		--disable-gstreamer
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
USES=		gettext gnome gmake libtool pathfix pkgconfig
24
USES=		gettext gnome gmake libtool localbase pathfix pkgconfig
26
USE_GNOME=	intlhack gdkpixbuf2 glib20 gtk20
25
USE_GNOME=	intlhack gdkpixbuf2 glib20 gtk20
27
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
28
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
Lines 29-69 Link Here
29
TEST_TARGET=	check
28
TEST_TARGET=	check
30
29
31
OPTIONS_DEFINE=	GOFFICE SOUP LCOV NLS
30
OPTIONS_DEFINE=	GOFFICE SOUP LCOV NLS
31
OPTIONS_SUB=	yes
32
GOFFICE_DESC=	GOffice support
32
GOFFICE_DESC=	GOffice support
33
SOUP_DESC=	libsoup support
33
SOUP_DESC=	libsoup support
34
LCOV_DESC=	Force dependency on lcov
34
LCOV_DESC=	Force dependency on lcov
35
35
36
.include <bsd.port.options.mk>
36
GOFFICE_CONFIGURE_ENABLE=goffice
37
38
.if ${PORT_OPTIONS:MGOFFICE}
39
CONFIGURE_ARGS+=--enable-goffice
40
# the 0.8 is part of the library name don't remove it.
37
# the 0.8 is part of the library name don't remove it.
41
LIB_DEPENDS+=	libgoffice-0.8.so:devel/goffice
38
GOFFICE_LIB_DEPENDS=	libgoffice-0.8.so:devel/goffice
42
PLIST_SUB+=	GOFFICE=""
43
.else
44
CONFIGURE_ARGS+=--disable-goffice
45
PLIST_SUB+=	GOFFICE="@comment "
46
.endif
47
39
48
.if ${PORT_OPTIONS:MLCOV}
40
LCOV_RUN_DEPENDS=	lcov:devel/lcov
49
RUN_DEPENDS+=	lcov:devel/lcov
50
.endif
51
41
52
.if ${PORT_OPTIONS:MSOUP}
42
SOUP_CONFIGURE_ENABLE=	libsoup
53
CONFIGURE_ARGS+=--enable-libsoup
43
SOUP_LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup
54
LIB_DEPENDS+=	libsoup-2.4.so:devel/libsoup
55
PLIST_SUB+=	SOUP=""
56
.else
57
CONFIGURE_ARGS+=--disable-libsoup
58
PLIST_SUB+=	SOUP="@comment "
59
.endif
60
44
61
.if ${PORT_OPTIONS:MNLS}
45
NLS_USES=		gettext
62
USES+=		gettext
46
NLS_CONFIGURE_ENABLE=	nls
63
PLIST_SUB+=	NLS=""
64
.else
65
CONFIGURE_ARGS+=--disable-nls
66
PLIST_SUB+=	NLS="@comment "
67
.endif
68
47
69
.include <bsd.port.mk>
48
.include <bsd.port.mk>

Return to bug 241896