diff options
-rw-r--r-- | textproc/gnome-translate/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile index 8f03691..d1a9dfe 100644 --- a/textproc/gnome-translate/Makefile +++ b/textproc/gnome-translate/Makefile @@ -11,14 +11,13 @@ MASTER_SITE_SUBDIR= libtranslate MAINTAINER= ports@FreeBSD.org COMMENT= A natural language translator -LIB_DEPENDS= translate:${PORTSDIR}/textproc/libtranslate +LIB_DEPENDS= libtranslate.so:${PORTSDIR}/textproc/libtranslate INSTALLS_OMF= yes INSTALLS_ICONS= yes GCONF_SCHEMAS= gnome-translate.schemas -USES= pathfix pkgconfig +USES= pathfix pkgconfig gmake USE_GNOME= gnomeprefix eel2 intlhack libgnomeui -USE_GMAKE= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -Wl,-export-dynamic @@ -27,13 +26,7 @@ OPTIONS_DEFINE= LANGUAGE_DETECTION LANGUAGE_DETECTION_DESC= language detection OPTIONS_DEFAULT= LANGUAGE_DETECTION -NO_STAGE= yes -.include <bsd.port.pre.mk> +LANGUAGE_DETECTION_CONFIGURE_ENABLE= language-detection +LANGUAGE_DETECTION_LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell -.if ${PORT_OPTIONS:MLANGUAGE_DETECTION} -CONFIGURE_ARGS+= --disable-language-detection -.else -LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |