From 7eb7520c6e49c21f5bb8ea3663c92dca92996fbf Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 4 Apr 2007 09:33:44 +0000 Subject: Add support for WITHOUT_NLS. PR: 110538 Submitted by: Helge Oldach Approved by: maintainer --- palm/coldsync/Makefile | 10 +++++++++- palm/coldsync/pkg-plist | 8 ++++---- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'palm/coldsync') diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile index 9b3a495e29fc..a3426c454bdc 100644 --- a/palm/coldsync/Makefile +++ b/palm/coldsync/Makefile @@ -14,7 +14,15 @@ MASTER_SITES= http://www.coldsync.org/download/ MAINTAINER= arensb+freebsd-ports@ooblick.com COMMENT= Synchronize a PalmPilot with a Unix workstation +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --without-i18n +PLIST_SUB+= NLS="@comment " +.else +CONFIGURE_ARGS+= --with-i18n USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + REINPLACE_ARGS= -i "" -E USE_LDCONFIG= yes @@ -47,7 +55,7 @@ INFO= conduits .include CFLAGS+= -D__BSD_VISIBLE=1 -CONFIGURE_ARGS+= --with-i18n --disable-pedantic --without-perl +CONFIGURE_ARGS+= --disable-pedantic --without-perl # I don't know how to test for a version of {Net,Open}BSD that supports USB. .if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 400000 diff --git a/palm/coldsync/pkg-plist b/palm/coldsync/pkg-plist index 59bf47f8968a..b9c5d2fa981c 100644 --- a/palm/coldsync/pkg-plist +++ b/palm/coldsync/pkg-plist @@ -6,10 +6,10 @@ lib/libpconn.so.0 lib/libpdb.a lib/libpdb.so lib/libpdb.so.0 -share/locale/cs/LC_MESSAGES/coldsync.mo -share/locale/de/LC_MESSAGES/coldsync.mo -share/locale/fr/LC_MESSAGES/coldsync.mo -share/locale/it/LC_MESSAGES/coldsync.mo +%%NLS%%share/locale/cs/LC_MESSAGES/coldsync.mo +%%NLS%%share/locale/de/LC_MESSAGES/coldsync.mo +%%NLS%%share/locale/fr/LC_MESSAGES/coldsync.mo +%%NLS%%share/locale/it/LC_MESSAGES/coldsync.mo include/palm.h include/pdb.h include/pconn/util.h -- cgit