diff options
author | krion <krion@FreeBSD.org> | 2004-07-11 11:23:40 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-11 11:23:40 +0000 |
commit | 526c52d08f67c85a160452a3f2d73702624e4f93 (patch) | |
tree | 50d036f0acf56c60432503bbf4b0526782f532f5 /x11-wm/ude | |
parent | dd846f1da98038f30b9a7073113c0d6845f8b2e6 (diff) | |
download | FreeBSD-ports-526c52d08f67c85a160452a3f2d73702624e4f93.zip FreeBSD-ports-526c52d08f67c85a160452a3f2d73702624e4f93.tar.gz |
Support WITHOUT_NLS
Diffstat (limited to 'x11-wm/ude')
-rw-r--r-- | x11-wm/ude/Makefile | 9 | ||||
-rw-r--r-- | x11-wm/ude/pkg-plist | 12 |
2 files changed, 14 insertions, 7 deletions
diff --git a/x11-wm/ude/Makefile b/x11-wm/ude/Makefile index bd94503..9628b25 100644 --- a/x11-wm/ude/Makefile +++ b/x11-wm/ude/Makefile @@ -18,12 +18,19 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg USE_X_PREFIX= yes USE_XPM= yes -USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/html diff --git a/x11-wm/ude/pkg-plist b/x11-wm/ude/pkg-plist index 7de906a..1733fad 100644 --- a/x11-wm/ude/pkg-plist +++ b/x11-wm/ude/pkg-plist @@ -25,12 +25,12 @@ bin/uwm %%PORTDOCS%%%%DOCSDIR%%/html/prev_g.gif %%PORTDOCS%%%%DOCSDIR%%/html/up.gif %%PORTDOCS%%%%DOCSDIR%%/html/up_g.gif -share/locale/de/LC_MESSAGES/ude.mo -share/locale/es/LC_MESSAGES/ude.mo -share/locale/pt_BR/LC_MESSAGES/ude.mo -share/locale/sk/LC_MESSAGES/ude.mo -share/locale/sv/LC_MESSAGES/ude.mo -share/locale/tr/LC_MESSAGES/ude.mo +%%NLS%%share/locale/de/LC_MESSAGES/ude.mo +%%NLS%%share/locale/es/LC_MESSAGES/ude.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/ude.mo +%%NLS%%share/locale/sk/LC_MESSAGES/ude.mo +%%NLS%%share/locale/sv/LC_MESSAGES/ude.mo +%%NLS%%share/locale/tr/LC_MESSAGES/ude.mo %%DATADIR%%/config/StartScript %%DATADIR%%/config/StopScript %%DATADIR%%/config/appmenu |