aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-15 20:26:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-15 20:26:59 +0000
commit72fd6f1304773a9e7e297f88343dfbf5d3e1c3f1 (patch)
tree44f98b9bf0bd373e4d2d0eab0ac23e3c90b066b3 /sysutils
parentc623a39f009b7d50c7c7a160afdf6380ce06da87 (diff)
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/torsmo/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/torsmo/Makefile b/sysutils/torsmo/Makefile
index 74dc46df091f..f1e42c94ed64 100644
--- a/sysutils/torsmo/Makefile
+++ b/sysutils/torsmo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= torsmo
PORTVERSION= 0.18
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,6 +16,7 @@ MAINTAINER= bogorodskiy@inbox.ru
COMMENT= System monitor that renders text on desktop
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
USE_X_PREFIX= yes
MAN1= torsmo.1
@@ -24,15 +25,20 @@ PLIST_FILES= bin/torsmo \
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS ChangeLog NEWS README
-OPTIONS= XFT "Enable XFT support" on
+OPTIONS= XFT "XFT support" on \
+ DOUBLE_BUFFER "Flicker-free operation support" on
.include <bsd.port.pre.mk>
-.if defined(WITH_XFT)
+.if !defined(WITHOUT_XFT)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+= --enable-xft
.endif
+.if defined(WITHOUT_DOUBLE_BUFFER)
+CONFIGURE_ARGS+= --disable-double-buffer
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}