aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-01-02 10:34:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-01-02 10:34:09 +0000
commit00820dcccbea8bb1d3a10ced996bbc4f62c70f77 (patch)
treec1fb77c686c770a7afccb71f6881415c264c5103 /x11-wm/windowmaker
parent4c5df29a8c5915556a216a63e5bb0fec53e3cb54 (diff)
downloadports-00820dcccbea8bb1d3a10ced996bbc4f62c70f77.tar.gz
ports-00820dcccbea8bb1d3a10ced996bbc4f62c70f77.zip
Notes
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 10f24275c5d8..eee33499c4de 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -7,6 +7,7 @@
PORTNAME= windowmaker
PORTVERSION= 0.80.2
+PORTREVISION= 1
CATEGORIES= x11-wm windowmaker
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
MASTER_SITE_SUBDIR= source/release
@@ -17,8 +18,11 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
- intl.4:${PORTSDIR}/devel/gettext \
- Hermes.1:${PORTSDIR}/graphics/Hermes
+ intl.4:${PORTSDIR}/devel/gettext
+.if !defined(WITHOUT_HERMES)
+LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
+.endif
+
RUN_DEPENDS= ${X11BASE}/share/WindowMaker/Themes/Checker.themed/style:${PORTSDIR}/graphics/wmicons
USE_BZIP2= yes
@@ -38,8 +42,14 @@ CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
--with-libs-from="-L${LOCALBASE}/lib" \
--with-incs-from="-I${LOCALBASE}/include" \
--with-appspath="${PREFIX}/GNUstep/Apps" \
- --enable-hermes \
--disable-debug
+
+.if !defined(WITHOUT_HERMES)
+CONFIGURE_ARGS+= --enable-hermes
+.else
+CONFIGURE_ARGS+= --disable-hermes
+.endif
+
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MANLANG= "" sk
@@ -65,6 +75,12 @@ pre-extract:
@${ECHO} "You can add hooks for KDE by defining WITH_KDE"
.endif
+.if !defined(WITHOUT_HERMES)
+pre-everything::
+ @${ECHO} "You can disable the Hermes library by defining WITHOUT_HERMES"
+ @${ECHO}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
@${REINPLACE_CMD} -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new