diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2007-04-04 09:33:44 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2007-04-04 09:33:44 +0000 |
commit | 77ab0bf67314b3aad2e63642fd831cfbebefa775 (patch) | |
tree | 11846d1fd8616ff7439ca9c142d07edcde1aaa7b /palm | |
parent | b4b3649efd2cdb92faee96384db8c170e78f8e07 (diff) | |
download | ports-77ab0bf67314b3aad2e63642fd831cfbebefa775.tar.gz ports-77ab0bf67314b3aad2e63642fd831cfbebefa775.zip |
Add support for WITHOUT_NLS.
PR: 110538
Submitted by: Helge Oldach <ports-coldsync-mar07@oldach.net>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=189169
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 |