diff options
author | stefan <stefan@FreeBSD.org> | 2007-04-04 17:33:44 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2007-04-04 17:33:44 +0800 |
commit | 7eb7520c6e49c21f5bb8ea3663c92dca92996fbf (patch) | |
tree | 1ceb7de26d24041804664eccdf216a28d7208b91 /palm | |
parent | 0770b8b541567221b39bc6b8b5cd0919aee0d6c3 (diff) | |
download | freebsd-ports-gnome-7eb7520c6e49c21f5bb8ea3663c92dca92996fbf.tar.gz freebsd-ports-gnome-7eb7520c6e49c21f5bb8ea3663c92dca92996fbf.tar.zst freebsd-ports-gnome-7eb7520c6e49c21f5bb8ea3663c92dca92996fbf.zip |
Add support for WITHOUT_NLS.
PR: 110538
Submitted by: Helge Oldach <ports-coldsync-mar07@oldach.net>
Approved by: maintainer
Diffstat (limited to 'palm')
-rw-r--r-- | palm/coldsync/Makefile | 10 | ||||
-rw-r--r-- | palm/coldsync/pkg-plist | 8 |
2 files changed, 13 insertions, 5 deletions
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 <bsd.port.pre.mk> 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 |