diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /x11-wm/windowmaker-i18n/Makefile | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) |
Implement WANT_GNOME.
Notes
Notes:
svn path=/head/; revision=33430
Diffstat (limited to 'x11-wm/windowmaker-i18n/Makefile')
-rw-r--r-- | x11-wm/windowmaker-i18n/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
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 <bsd.port.pre.mk> + +.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 <bsd.port.pre.mk> - 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 |