summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-13 23:02:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-13 23:02:53 +0000
commit08f4b8584397b9e1f8ef9258e670db013bcbde8e (patch)
tree489d09eed0b8aa68c3cedba7ff68b15d6603cc8f /sysutils
parentProperly fix the termios race rather than disabling copyTermios. (diff)
[ maintainer ] sysutils/torsmo: add WITH_XFT knob
Add WITH_XFT option/knob which can be used to toggle XFT support Requested by: Anton Karpov <toxa@cterra.ru> PR: ports/76121 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Notes
Notes: svn path=/head/; revision=126373
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/torsmo/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/torsmo/Makefile b/sysutils/torsmo/Makefile
index 30732b3f9ada..74dc46df091f 100644
--- a/sysutils/torsmo/Makefile
+++ b/sysutils/torsmo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= torsmo
PORTVERSION= 0.18
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,15 +17,22 @@ COMMENT= System monitor that renders text on desktop
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-MAN1= torsmo.1
+MAN1= torsmo.1
PLIST_FILES= bin/torsmo \
%%EXAMPLESDIR%%/torsmorc.sample
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS ChangeLog NEWS README
+OPTIONS= XFT "Enable XFT support" on
+
.include <bsd.port.pre.mk>
+.if defined(WITH_XFT)
+LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
+CONFIGURE_ARGS+= --enable-xft
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}