From 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 07:22:56 +0000 Subject: Implement WANT_GNOME. --- x11-wm/windowmaker-i18n/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'x11-wm/windowmaker-i18n/Makefile') diff --git a/x11-wm/windowmaker-i18n/Makefile b/x11-wm/windowmaker-i18n/Makefile index 404233d2de4b..07ec1f74de9a 100644 --- a/x11-wm/windowmaker-i18n/Makefile +++ b/x11-wm/windowmaker-i18n/Makefile @@ -27,6 +27,7 @@ USE_BZIP2= yes USE_PERL5= yes USE_X_PREFIX= yes USE_XPM= yes +WANT_GNOME= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} \ @@ -49,25 +50,24 @@ MASTER_SITES+= ftp://muse.brain.riken.go.jp/pub/ja.po/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${JA_CATALOGFILE}${EXTRACT_SUFX} .endif -.if defined(WITH_GNOME) +.include + +.if defined(HAVE_GNOME) CONFIGURE_ARGS+= --enable-gnome .endif + .if defined(WITH_KDE) CONFIGURE_ARGS+= --enable-kde -.endif - +.else .SILENT: -.if !defined(WITH_KDE) && !defined(WITH_GNOME) pre-extract: - ${ECHO} "You can add hooks for Gnome and KDE by defining WITH_GNOME and/or WITH_KDE" + @${ECHO} "You can add hooks for KDE by defining WITH_KDE" .endif post-extract: @cd ${WRKSRC} && \ ${TAR} xfz libwmfun-0.0.3.tar.gz -.include - post-patch: @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c @${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new -- cgit v1.2.3