diff options
author | Steve Price <steve@FreeBSD.org> | 2000-05-29 02:39:21 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-05-29 02:39:21 +0000 |
commit | 25b4e6511279b4dd71f3c5172c21a3b9dae841d4 (patch) | |
tree | cc9840ed91d2d910534ed92985582a8df7c570c0 /mail | |
parent | 6c8810f07de30e1895fbd0b82401f3dec19746da (diff) | |
download | ports-25b4e6511279b4dd71f3c5172c21a3b9dae841d4.tar.gz ports-25b4e6511279b4dd71f3c5172c21a3b9dae841d4.zip |
Enable internationalization support.
PR: 18840
Submitted by: R\xe9mi Guyomarch <rguyom@321.net>
No complaints from: maintainer
Notes
Notes:
svn path=/head/; revision=28858
Diffstat (limited to 'mail')
-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 |