diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-07-19 12:32:58 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-07-19 12:32:58 +0800 |
commit | 98c71a5ce70a2451fa6ca5afdc1e09c0f4a2d437 (patch) | |
tree | 589159ec3e902a9417b7fd639b3664ffdd751568 /x11-wm | |
parent | 0648ef2a594e230895a4593b7e76c11239e29204 (diff) | |
download | freebsd-ports-gnome-98c71a5ce70a2451fa6ca5afdc1e09c0f4a2d437.tar.gz freebsd-ports-gnome-98c71a5ce70a2451fa6ca5afdc1e09c0f4a2d437.tar.zst freebsd-ports-gnome-98c71a5ce70a2451fa6ca5afdc1e09c0f4a2d437.zip |
Change CONFIGURE_ARGS to reflect reality and add USE_GNOME/USE_KDE
hooks.
PR: 12691
Submitted by: Brian Handy <handy@physics.montana.edu>, maintainer
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/windowmaker/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index f47fd5a752be..a037bfc034c9 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -3,7 +3,7 @@ # Date created: August 13, 1997 # Whom: handy@physics.montana.edu # -# $Id: Makefile,v 1.52 1999/06/04 08:00:19 tg Exp $ +# $Id: Makefile,v 1.53 1999/06/08 22:01:16 steve Exp $ DISTNAME= WindowMaker-0.60.0 PKGNAME= windowmaker-0.60.0 @@ -29,8 +29,8 @@ CONFIGURE_ENV= X11BASE=${X11BASE} LIBS=-L${LOCALBASE}/lib \ CPPFLAGS=-I${LOCALBASE}/include CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --with-nlsdir=${LOCALBASE}/lib/locale \ - --with-gfx-libs="-L${LOCALBASE}/lib" \ - --with-gfx-incs="-I${LOCALBASE}/include" \ + --with-libs-from="-L${LOCALBASE}/lib" \ + --with-incs-from="-I${LOCALBASE}/include" \ --disable-debug MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \ @@ -38,6 +38,21 @@ MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \ DATAFILES= WindowMaker-extra-0.1.tar.bz2 +.if defined(USE_GNOME) +CONFIGURE_ARGS+= --enable-gnome +.endif + +.if defined(USE_KDE) +CONFIGURE_ARGS+= --enable-kde +.endif + +.SILENT: + +.if !defined(USE_KDE) && !defined(USE_GNOME) +pre-extract: + ${ECHO} "You can add hooks for Gnome and KDE by defining USE_GNOME and/or USE_KDE" +.endif + post-patch: @perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c \ ${WRKSRC}/WindowMaker/Defaults/* |