diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-27 23:06:21 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-27 23:06:21 +0000 |
commit | 4e1984284bdb262dbad21a8085535dde88008514 (patch) | |
tree | bc922b7b483ed3dcf204f631f62b098603359de8 /textproc/gnome-translate | |
parent | 30a5132038f9cd543baa74f835a0f0b4dd942bb6 (diff) |
Notes
Diffstat (limited to 'textproc/gnome-translate')
-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 8f036919bf8f..d1a9dfe14eed 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> |