diff options
author | krion <krion@FreeBSD.org> | 2004-07-11 05:22:52 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-11 05:22:52 +0800 |
commit | b4ba04858d7ce840453d152970ba845396381a34 (patch) | |
tree | 6c99b7a7cf23003d0fdbf6f9c831848cb7829204 | |
parent | 5b9602b4ae4459cc60e5b35a41d990baab7902eb (diff) | |
download | freebsd-ports-gnome-b4ba04858d7ce840453d152970ba845396381a34.tar.gz freebsd-ports-gnome-b4ba04858d7ce840453d152970ba845396381a34.tar.zst freebsd-ports-gnome-b4ba04858d7ce840453d152970ba845396381a34.zip |
Support WITHOUT_NLS
-rw-r--r-- | mail/spruce/Makefile | 9 | ||||
-rw-r--r-- | mail/spruce/pkg-plist | 26 |
2 files changed, 21 insertions, 14 deletions
diff --git a/mail/spruce/Makefile b/mail/spruce/Makefile index 26a0f5dab440..aa7dc0a1bee1 100644 --- a/mail/spruce/Makefile +++ b/mail/spruce/Makefile @@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= erich@tacni.net COMMENT= A simple GTK based email client -USE_GETTEXT= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gtk12 @@ -26,4 +25,12 @@ MAKE_ENV= OLD_PO_FILE_INPUT=1 MAN1= spruce.1 +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.mk> diff --git a/mail/spruce/pkg-plist b/mail/spruce/pkg-plist index 83896dd55157..e606af8503bd 100644 --- a/mail/spruce/pkg-plist +++ b/mail/spruce/pkg-plist @@ -1,14 +1,14 @@ bin/spruce -share/locale/ca/LC_MESSAGES/spruce.mo -share/locale/da/LC_MESSAGES/spruce.mo -share/locale/de/LC_MESSAGES/spruce.mo -share/locale/es/LC_MESSAGES/spruce.mo -share/locale/fr/LC_MESSAGES/spruce.mo -share/locale/it/LC_MESSAGES/spruce.mo -share/locale/ko/LC_MESSAGES/spruce.mo -share/locale/nl/LC_MESSAGES/spruce.mo -share/locale/pt/LC_MESSAGES/spruce.mo -share/locale/ru_RU/LC_MESSAGES/spruce.mo -share/locale/sk/LC_MESSAGES/spruce.mo -share/locale/sv/LC_MESSAGES/spruce.mo -share/locale/zh_TW.Big5/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/ca/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/da/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/de/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/es/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/fr/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/it/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/ko/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/nl/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/pt/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/ru_RU/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/sk/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/sv/LC_MESSAGES/spruce.mo +%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/spruce.mo |