aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-01-14 07:02:53 +0800
committeredwin <edwin@FreeBSD.org>2005-01-14 07:02:53 +0800
commit83a0300eb632879c66e5fb1c56fc4b477f34f16a (patch)
treeaa2abddf287196718e779bd530a056a5f375b011
parentc15b2c7753aee3d563b24eb5dc6bfbb452d91f5d (diff)
downloadfreebsd-ports-gnome-83a0300eb632879c66e5fb1c56fc4b477f34f16a.tar.gz
freebsd-ports-gnome-83a0300eb632879c66e5fb1c56fc4b477f34f16a.tar.zst
freebsd-ports-gnome-83a0300eb632879c66e5fb1c56fc4b477f34f16a.zip
[ 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>
-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}