1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Change CONFIGURE_ARGS to reflect reality and add USE_GNOME/USE_KDE

hooks.

PR:		12691
Submitted by:	Brian Handy <handy@physics.montana.edu>, maintainer
This commit is contained in:
Chris Piazza 1999-07-19 04:32:58 +00:00
parent e2f0c56449
commit 48442db93b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20269

View File

@ -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/*