From aed9070b968186fee195995dd8075226f026fd7f Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 15 Jan 2005 20:26:59 +0000 Subject: - Fix X11 detection - Add option for "Flicker-free operation support" PR: ports/76256 Submitted by: Roman Bogorodskiy (maintainer) --- sysutils/torsmo/Makefile | 12 +++++++++--- 1 file 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 -.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} -- cgit