aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:22:56 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:22:56 +0800
commit05b7017f031a0b7ec77897d1ff4479959829076e (patch)
tree26ae85d09c84baa372a2949e4ad9d1546c408c7e /x11-wm/windowmaker
parent68dad4980b984b6c03859651af5eefb37c1c9d90 (diff)
downloadfreebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.tar.gz
freebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.tar.zst
freebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.zip
Implement WANT_GNOME.
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index ee77eee9a08a..b343b31d1116 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -23,14 +23,16 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
PropList.2:${PORTSDIR}/devel/libPropList
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} LIBS=-L${LOCALBASE}/lib \
CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
- --with-nlsdir=${LOCALBASE}/lib/locale \
+ --with-nlsdir=${PREFIX}/share/locale \
--with-libs-from="-L${LOCALBASE}/lib" \
--with-incs-from="-I${LOCALBASE}/include" \
--with-appspath="${PREFIX}/GNUstep/Apps" \
@@ -41,25 +43,24 @@ MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
DATAFILES= WindowMaker-extra-0.1.tar.bz2
-.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
+.else
+.SILENT:
+pre-extract:
+ @${ECHO} "You can add hooks for KDE by defining WITH_KDE"
.endif
.if defined(WITH_SINGLE_ICON)
CONFIGURE_ARGS+= --enable-single-icon
.endif
-.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"
-.endif
-
post-extract:
@cd ${WRKSRC} && \
${TAR} xfz libwmfun-0.0.3.tar.gz
@@ -77,4 +78,4 @@ post-install:
${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET}
${MKDIR} ${PREFIX}/share/WindowMaker/Sounds
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>