diff options
author | jadawin <jadawin@FreeBSD.org> | 2010-11-12 04:28:53 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2010-11-12 04:28:53 +0800 |
commit | 7d9ce1d9a8e135323b0071169c4119b7d3a1dccc (patch) | |
tree | e72976cd142b37ab661dd7050d0615359b90362c /editors | |
parent | 4bcf8750fac876e30ae2ce5230b4bbcf380ec48b (diff) | |
download | freebsd-ports-gnome-7d9ce1d9a8e135323b0071169c4119b7d3a1dccc.tar.gz freebsd-ports-gnome-7d9ce1d9a8e135323b0071169c4119b7d3a1dccc.tar.zst freebsd-ports-gnome-7d9ce1d9a8e135323b0071169c4119b7d3a1dccc.zip |
- Respect NLS OPTIONS
- Bump PORTREVISION
- Submitter is now maintainer
PR: ports/152139
Submitted by: Sofian Brabez <sbrabez AT gmail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/gobby/Makefile | 20 | ||||
-rw-r--r-- | editors/gobby/distinfo | 1 | ||||
-rw-r--r-- | editors/gobby/pkg-plist | 58 |
3 files changed, 55 insertions, 24 deletions
diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile index 216740f9c47c..e541c73bbb57 100644 --- a/editors/gobby/Makefile +++ b/editors/gobby/Makefile @@ -7,11 +7,11 @@ PORTNAME= gobby PORTVERSION= 0.4.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= http://releases.0x539.de/gobby/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sbrabez@gmail.com COMMENT= A free collaborative editor LIB_DEPENDS= obby-0.4.1:${PORTSDIR}/devel/obby \ @@ -19,9 +19,10 @@ LIB_DEPENDS= obby-0.4.1:${PORTSDIR}/devel/obby \ xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \ gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 -OPTIONS= GTKSPELL "Enable GtkSpell support" off +OPTIONS= GTKSPELL "Enable GtkSpell support" off \ + NLS "Enable Native Language support" off -USE_GNOME= gnomehack gtksourceview2 +USE_GNOME= gnomehack gtksourceview2 intltool USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes @@ -38,4 +39,15 @@ CONFIGURE_ARGS+=--with-gtkspell CONFIGURE_ARGS+=--without-gtkspell .endif +.if !defined(WITHOUT_NLS) +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" +CONFIGURE_ARGS+= --enable-nls +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.post.mk> diff --git a/editors/gobby/distinfo b/editors/gobby/distinfo index 9222a5e5e43d..efda81390414 100644 --- a/editors/gobby/distinfo +++ b/editors/gobby/distinfo @@ -1,3 +1,2 @@ -MD5 (gobby-0.4.12.tar.gz) = 835cc48f5177196e4a18610c2cb013bf SHA256 (gobby-0.4.12.tar.gz) = 7b9f6e9aa79bb8f95d71e36efd90979b6905bee65162278c1b733e356949a579 SIZE (gobby-0.4.12.tar.gz) = 464464 diff --git a/editors/gobby/pkg-plist b/editors/gobby/pkg-plist index f1a34e2ecb3f..bfe6f3323708 100644 --- a/editors/gobby/pkg-plist +++ b/editors/gobby/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/gobby %%DATADIR%%/icons/HighContrastLargePrint/48x48/actions/chat.png %%DATADIR%%/icons/HighContrastLargePrint/48x48/actions/document-list.png @@ -23,25 +24,44 @@ share/icons/HighContrastLargePrintInverse/48x48/apps/gobby.png share/icons/HighContrastLargePrintInverse/scalable/apps/gobby.svg share/icons/hicolor/48x48/apps/gobby.png share/icons/hicolor/scalable/apps/gobby.svg -share/locale/ca/LC_MESSAGES/gobby.mo -share/locale/cs/LC_MESSAGES/gobby.mo -share/locale/de/LC_MESSAGES/gobby.mo -share/locale/el/LC_MESSAGES/gobby.mo -share/locale/en_GB/LC_MESSAGES/gobby.mo -share/locale/es/LC_MESSAGES/gobby.mo -share/locale/fr/LC_MESSAGES/gobby.mo -share/locale/he/LC_MESSAGES/gobby.mo -share/locale/it/LC_MESSAGES/gobby.mo -share/locale/ja/LC_MESSAGES/gobby.mo -share/locale/ko/LC_MESSAGES/gobby.mo -share/locale/nl/LC_MESSAGES/gobby.mo -share/locale/pl/LC_MESSAGES/gobby.mo -share/locale/pt/LC_MESSAGES/gobby.mo -share/locale/pt_BR/LC_MESSAGES/gobby.mo -share/locale/ru/LC_MESSAGES/gobby.mo -share/locale/sv/LC_MESSAGES/gobby.mo -share/locale/uk/LC_MESSAGES/gobby.mo -share/locale/zh_CN/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/ca/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/de/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/el/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/es/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/he/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/it/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/ja/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/ko/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/nl/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/pt/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/uk/LC_MESSAGES/gobby.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/gobby.mo +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/sv/LC_MESSAGES +@dirrmtry share/locale/ru/LC_MESSAGES +@dirrmtry share/locale/pt_BR/LC_MESSAGES +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/nl/LC_MESSAGES +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ja/LC_MESSAGES +@dirrmtry share/locale/it/LC_MESSAGES +@dirrmtry share/locale/he/LC_MESSAGES +@dirrmtry share/locale/fr/LC_MESSAGES +@dirrmtry share/locale/es/LC_MESSAGES +@dirrmtry share/locale/en_GB/LC_MESSAGES +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/de/LC_MESSAGES +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/ca/LC_MESSAGES @dirrmtry share/icons/HighContrastLargePrintInverse/scalable/apps @dirrmtry share/icons/HighContrastLargePrintInverse/scalable @dirrmtry share/icons/HighContrastLargePrintInverse/48x48/apps |