diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-25 12:16:56 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-25 12:16:56 +0000 |
commit | 98ea7427280e0863a78f573e8b6722568a610fc1 (patch) | |
tree | 95e7c7bd9d83024738c02fac29498e4bf45c47b7 /archivers | |
parent | 5e5eacdbfbf0ecf459ee3b3a7bd18734daf71e2f (diff) | |
download | ports-98ea7427280e0863a78f573e8b6722568a610fc1.tar.gz ports-98ea7427280e0863a78f573e8b6722568a610fc1.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/libcomprex/Makefile | 9 | ||||
-rw-r--r-- | archivers/libcomprex/pkg-plist | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile index b453b9655635..6bd7733f5f0b 100644 --- a/archivers/libcomprex/Makefile +++ b/archivers/libcomprex/Makefile @@ -22,7 +22,6 @@ LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl \ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2 .endif -USE_GETTEXT= yes USE_GNOME= gnomehack gnometarget pkgconfig USE_LIBTOOL_VER= 13 LIBTOOLFLAGS= # none @@ -30,6 +29,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" INSTALLS_SHLIB= yes +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.pre.mk> .include "Makefile.man" .include <bsd.port.post.mk> diff --git a/archivers/libcomprex/pkg-plist b/archivers/libcomprex/pkg-plist index 68dfe52ade20..3451864c3ad2 100644 --- a/archivers/libcomprex/pkg-plist +++ b/archivers/libcomprex/pkg-plist @@ -33,8 +33,8 @@ lib/libcomprex.so lib/libcomprex.so.3 libdata/pkgconfig/libcomprex.pc share/aclocal/libcomprex.m4 -share/locale/it/LC_MESSAGES/libcomprex.mo -share/locale/nl/LC_MESSAGES/libcomprex.mo +%%NLS%%share/locale/it/LC_MESSAGES/libcomprex.mo +%%NLS%%share/locale/nl/LC_MESSAGES/libcomprex.mo @dirrm lib/comprex/scheme @dirrm lib/comprex/archive @dirrm lib/comprex |