diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-14 07:02:53 +0800 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-14 07:02:53 +0800 |
commit | 08f4b8584397b9e1f8ef9258e670db013bcbde8e (patch) | |
tree | 489d09eed0b8aa68c3cedba7ff68b15d6603cc8f | |
parent | 4d6a8267981c50d7ab20f33f4db8a0bc53781e50 (diff) | |
download | freebsd-ports-gnome-08f4b8584397b9e1f8ef9258e670db013bcbde8e.tar.gz freebsd-ports-gnome-08f4b8584397b9e1f8ef9258e670db013bcbde8e.tar.zst freebsd-ports-gnome-08f4b8584397b9e1f8ef9258e670db013bcbde8e.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/Makefile | 11 |
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} |