freebsd-ports/sysutils/torsmo/Makefile
Pav Lucistnik 72fd6f1304 - Fix X11 detection
- Add option for "Flicker-free operation support"

PR:		ports/76256
Submitted by:	Roman Bogorodskiy <bogorodskiy@gmail.com> (maintainer)
2005-01-15 20:26:59 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: torsmo
# Date created: 2004-07-29
# Whom: Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD$
#
PORTNAME= torsmo
PORTVERSION= 0.18
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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
PLIST_FILES= bin/torsmo \
%%EXAMPLESDIR%%/torsmorc.sample
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS= XFT "XFT support" on \
DOUBLE_BUFFER "Flicker-free operation support" on
.include <bsd.port.pre.mk>
.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}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/torsmorc.sample ${EXAMPLESDIR}
.include <bsd.port.post.mk>