blob: e8b43ff0fd485b3da7ca5732093a1174d155d6f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$
PORTNAME= torsmo
PORTVERSION= 0.18
PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= novel@FreeBSD.org
COMMENT= System monitor that renders text on desktop
GNU_CONFIGURE= yes
USE_XORG= x11
CPPFLAGS+= -I${LOCALBASE}/include
MAN1= torsmo.1
PLIST_FILES= bin/torsmo \
%%EXAMPLESDIR%%/torsmorc.sample
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= XFT DOUBLE_BUFFER DOCS
OPTIONS_DEFAULT= XFT DOUBLE_BUFFER
DOUBLE_BUFFER_DESC= Flicker-free operation support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXFT}
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+= --enable-xft
.endif
.if ! ${PORT_OPTIONS:MDOUBLE_BUFFER}
CONFIGURE_ARGS+= --disable-double-buffer
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/torsmorc.sample ${EXAMPLESDIR}
.include <bsd.port.mk>
|