diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:55:23 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:55:23 +0000 |
commit | 906d8c992c7e5b5b50882538d64e0175065c5f4b (patch) | |
tree | 68c33efb9b19fbcb375416b37aeb2d8ca322fba5 /games/gtypist | |
parent | 5c673d837f069533db85b62427c220dc40e6e16b (diff) | |
download | ports-906d8c992c7e5b5b50882538d64e0175065c5f4b.tar.gz ports-906d8c992c7e5b5b50882538d64e0175065c5f4b.zip |
Notes
Diffstat (limited to 'games/gtypist')
-rw-r--r-- | games/gtypist/Makefile | 9 | ||||
-rw-r--r-- | games/gtypist/pkg-plist | 14 |
2 files changed, 15 insertions, 8 deletions
diff --git a/games/gtypist/Makefile b/games/gtypist/Makefile index ebe0202a570a..bcc03f5ba346 100644 --- a/games/gtypist/Makefile +++ b/games/gtypist/Makefile @@ -15,7 +15,6 @@ MAINTAINER= naddy@FreeBSD.org COMMENT= Interactive typing tutor USE_BZIP2= yes -USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ @@ -25,4 +24,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ INFO= gtypist MAN1= gtypist.1 typefortune.1 +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.mk> diff --git a/games/gtypist/pkg-plist b/games/gtypist/pkg-plist index 43f4a0afc736..03985868a61a 100644 --- a/games/gtypist/pkg-plist +++ b/games/gtypist/pkg-plist @@ -25,11 +25,11 @@ share/gtypist/t.typ share/gtypist/ttde.typ share/gtypist/u.typ share/gtypist/v.typ -share/locale/cs/LC_MESSAGES/gtypist.mo -share/locale/de/LC_MESSAGES/gtypist.mo -share/locale/es/LC_MESSAGES/gtypist.mo -share/locale/fi/LC_MESSAGES/gtypist.mo -share/locale/fr/LC_MESSAGES/gtypist.mo -share/locale/ru/LC_MESSAGES/gtypist.mo -share/locale/zh_TW/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/de/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/es/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/gtypist.mo @dirrm share/gtypist |