diff options
author | steve <steve@FreeBSD.org> | 2000-05-29 10:39:21 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-29 10:39:21 +0800 |
commit | ccf164a3c3376cdf14d1dd1e1dd92165ea663198 (patch) | |
tree | 849fc832ead89f8571b753698576fba2bab8518b /mail/fetchmail | |
parent | b575453554c0bac53218f51a03418f4d39abfb60 (diff) | |
download | freebsd-ports-gnome-ccf164a3c3376cdf14d1dd1e1dd92165ea663198.tar.gz freebsd-ports-gnome-ccf164a3c3376cdf14d1dd1e1dd92165ea663198.tar.zst freebsd-ports-gnome-ccf164a3c3376cdf14d1dd1e1dd92165ea663198.zip |
Enable internationalization support.
PR: 18840
Submitted by: R\xe9mi Guyomarch <rguyom@321.net>
No complaints from: maintainer
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 8 | ||||
-rw-r--r-- | mail/fetchmail/files/patch-al | 13 | ||||
-rw-r--r-- | mail/fetchmail/files/patch-am | 11 | ||||
-rw-r--r-- | mail/fetchmail/pkg-plist | 9 |
4 files changed, 39 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 34b0eec60ce6..8b2635af0b0d 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -17,9 +17,13 @@ MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ MAINTAINER= ve@sci.fi +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS -CONFIGURE_ENV= LDFLAGS="${CFLAGS}" +CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS \ + --enable-nls +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" MAN1= fetchmail.1 MLINKS= fetchmail.1 fetchmailconf.1 diff --git a/mail/fetchmail/files/patch-al b/mail/fetchmail/files/patch-al new file mode 100644 index 000000000000..2e891603d8b2 --- /dev/null +++ b/mail/fetchmail/files/patch-al @@ -0,0 +1,13 @@ +--- po/Makefile.in.in~ Mon Nov 23 06:42:00 1998 ++++ po/Makefile.in.in Sun May 21 23:17:50 2000 +@@ -19,8 +19,8 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = $(prefix)/@DATADIRNAME@ +-localedir = $(datadir)/locale +-gnulocaledir = $(prefix)/share/locale ++localedir = $(prefix)/share/locale ++gnulocaledir = ${localedir} + gettextsrcdir = $(prefix)/share/gettext/po + subdir = po + diff --git a/mail/fetchmail/files/patch-am b/mail/fetchmail/files/patch-am new file mode 100644 index 000000000000..8ee5f0d463b3 --- /dev/null +++ b/mail/fetchmail/files/patch-am @@ -0,0 +1,11 @@ +--- configure~ Sat May 27 12:41:32 2000 ++++ configure Sat May 27 12:45:12 2000 +@@ -5010,7 +5010,7 @@ + if test "$USE_NLS" = "yes" + then + echo 'Enabling internationalization support...' +- POMAKE='$(MAKE) -C po' ++ POMAKE='cd po ; $(MAKE)' + if test "x$prefix" != xNONE; then + EXTRADEFS="$EXTRADEFS -DLOCALEDIR='\"$prefix/share/locale\"'" + else diff --git a/mail/fetchmail/pkg-plist b/mail/fetchmail/pkg-plist index a0624bed77ba..766837d90f79 100644 --- a/mail/fetchmail/pkg-plist +++ b/mail/fetchmail/pkg-plist @@ -1,6 +1,12 @@ bin/fetchmail bin/fetchmailconf libexec/fetchmailconf.bin +share/locale/es/LC_MESSAGES/fetchmail.mo +share/locale/fr/LC_MESSAGES/fetchmail.mo +share/locale/pl/LC_MESSAGES/fetchmail.mo +share/locale/pt_BR/LC_MESSAGES/fetchmail.mo +share/locale/cs/LC_MESSAGES/fetchmail.mo +share/locale/gl/LC_MESSAGES/fetchmail.mo share/doc/fetchmail/COPYING share/doc/fetchmail/FAQ share/doc/fetchmail/FEATURES @@ -11,3 +17,6 @@ share/doc/fetchmail/fetchmail-FAQ.html share/doc/fetchmail/fetchmail-features.html share/doc/fetchmail/sample.rcfile @dirrm share/doc/fetchmail +@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/* 2>/dev/null || true +@unexec rmdir %D/share/locale 2>/dev/null || true |