From e9bfb7a85eceeb2df75b451952228b036d7c3577 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 2 Feb 2004 23:55:00 +0000 Subject: Some gettext catalogs were not installed in FreeBSD, so use PLIST_SUBST to disable them for now. --- x11/xscreensaver/Makefile.common | 8 +++++++- x11/xscreensaver/PLIST | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'x11') diff --git a/x11/xscreensaver/Makefile.common b/x11/xscreensaver/Makefile.common index 684a97e4583..7ac19ac7c14 100644 --- a/x11/xscreensaver/Makefile.common +++ b/x11/xscreensaver/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.68 2004/02/01 10:48:46 jlam Exp $ +# $NetBSD: Makefile.common,v 1.69 2004/02/02 23:55:00 xtraeme Exp $ # DISTNAME= xscreensaver-4.14 @@ -42,6 +42,12 @@ PATCHDIR= ${.CURDIR}/../../x11/xscreensaver/patches .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "FreeBSD" +PLIST_SUBST+= AVAILABLE="@comment " +.else +PLIST_SUBST+= AVAILABLE= +.endif + .ifndef (PERL_VERSION) PERL_VERSION!= if [ -x ${PERL5} ]; then ${PERL5} -e 'print $$]'; else ${ECHO} "5.006"; fi MAKEFLAGS+= PERL_VERSION="${PERL_VERSION}" diff --git a/x11/xscreensaver/PLIST b/x11/xscreensaver/PLIST index 380a61132cd..5ab079d00a6 100644 --- a/x11/xscreensaver/PLIST +++ b/x11/xscreensaver/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2003/12/13 19:22:12 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.17 2004/02/02 23:55:00 xtraeme Exp $ bin/xscreensaver bin/xscreensaver-command bin/xscreensaver-getimage @@ -557,9 +557,9 @@ man/man1/xteevee.1 man/man1/zoom.1 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/xscreensaver.mo ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/xscreensaver.mo -${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xscreensaver.mo +${AVAILABLE}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xscreensaver.mo ${PKGLOCALEDIR}/locale/et/LC_MESSAGES/xscreensaver.mo -${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xscreensaver.mo +${AVAILABLE}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xscreensaver.mo ${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/xscreensaver.mo ${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/xscreensaver.mo ${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/xscreensaver.mo -- cgit v1.2.3