aboutsummaryrefslogtreecommitdiff
path: root/sysutils/torsmo
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/torsmo')
-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}