7 MASTER_SITES= SF/stardict-4/${PORTVERSION}
10 MAINTAINER= makc@FreeBSD.org
11 COMMENT= Dictionary lookup program written in Gtk2
13 LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \
14 libenchant.so:textproc/enchant
15 RUN_DEPENDS= xdg-open:devel/xdg-utils
18 CONFIGURE_ARGS= --disable-festival \
22 --disable-updateinfo \
23 --disable-advertisement
25 USES= compiler:c++11-lang gettext gmake libtool localbase pathfix \
33 GNOME_USE= GNOME=gnomeprefix,gnomedocutils,libgnomeui
34 GNOME_USE_OFF= GNOME=gtk20
35 GNOME_CONFIGURE_ENABLE= gnome-support schemas-install scrollkeeper
36 GNOME_VARS= GCONF_SCHEMAS=stardict.schemas \
40 @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \
41 ${WRKSRC}/dict/src/conf.cpp
43 -e '/as_fn_error.*gnome-doc-utils/d' \
44 -e '/DEP_MODULES=/s/"$$/ gmodule-2.0"/' \
45 ${WRKSRC}/dict/configure
48 ${REINPLACE_CMD} -e '/^SUBDIRS/s,help,,' ${WRKSRC}/dict/Makefile.in
50 .include <bsd.port.mk>