Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= conky |
4 |
PORTNAME= conky |
5 |
PORTVERSION= 1.9.0 |
5 |
PORTVERSION= 1.9.0 |
6 |
PORTREVISION= 6 |
6 |
PORTREVISION= 7 |
7 |
CATEGORIES= sysutils |
7 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= SF |
8 |
MASTER_SITES= SF |
9 |
|
9 |
|
Lines 48-57
Link Here
|
48 |
DOUBLE_BUFFER_DESC= Enable X11 double buffering |
48 |
DOUBLE_BUFFER_DESC= Enable X11 double buffering |
49 |
DOUBLE_BUFFER_CONFIGURE_ENABLE=double-buffer |
49 |
DOUBLE_BUFFER_CONFIGURE_ENABLE=double-buffer |
50 |
|
50 |
|
|
|
51 |
IMLIB2_CONFIGURE_ENABLE= imlib2 |
52 |
IMLIB2_LIB_DEPENDS+= libImlib2.so:graphics/imlib2 |
53 |
|
51 |
INOTIFY_DESC= Monitor file changes via Inotify |
54 |
INOTIFY_DESC= Monitor file changes via Inotify |
52 |
INOTIFY_CONFIGURE_ENABLE=inotify |
55 |
INOTIFY_CONFIGURE_ENABLE=inotify |
53 |
INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify |
56 |
INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify |
54 |
|
57 |
|
|
|
58 |
LUA_USES= lua:51 |
59 |
LUA_CONFIGURE_ENABLE= lua |
60 |
LUA_LIB_DEPENDS= libtolua++-5.1.so:lang/tolua++ |
61 |
|
55 |
LUA_CAIRO_DESC= Lua-Cairo binding |
62 |
LUA_CAIRO_DESC= Lua-Cairo binding |
56 |
LUA_CAIRO_CONFIGURE_ENABLE=lua-cairo |
63 |
LUA_CAIRO_CONFIGURE_ENABLE=lua-cairo |
57 |
LUA_CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo |
64 |
LUA_CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo |
Lines 90-123
Link Here
|
90 |
XOAP_LIB_DEPENDS= libcurl.so:ftp/curl \ |
97 |
XOAP_LIB_DEPENDS= libcurl.so:ftp/curl \ |
91 |
libxml2.so:textproc/libxml2 |
98 |
libxml2.so:textproc/libxml2 |
92 |
|
99 |
|
|
|
100 |
X11_USE= xorg=x11,xext,xdamage |
101 |
X11_CONFIGURE_ENABLE= x11 own-window |
102 |
|
103 |
ARGB_IMPLIES= X11 |
104 |
DOUBLE_BUFFER_IMPLIES= X11 |
105 |
IMLIB2_IMPLIES= X11 |
106 |
XFT_IMPLIES= X11 |
107 |
LUA_CAIRO_IMPLIES= X11 |
108 |
LUA_IMLIB2_IMPLIES= X11 |
109 |
|
110 |
LUA_IMLIB2_IMPLIES= LUA IMLIB2 |
111 |
LUA_CAIRO_IMPLIES= LUA |
112 |
|
113 |
|
93 |
.include <bsd.port.options.mk> |
114 |
.include <bsd.port.options.mk> |
94 |
|
115 |
|
95 |
.if ${PORT_OPTIONS:MARGB} || ${PORT_OPTIONS:MDOUBLE_BUFFER} || ${PORT_OPTIONS:MIMLIB2} || ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} || ${PORT_OPTIONS:MXFT} || ${PORT_OPTIONS:MX11} |
116 |
.if ${PORT_OPTIONS:MX11} |
96 |
USE_XORG= x11 xext xdamage |
|
|
97 |
CONFIGURE_ARGS+= --enable-x11 --enable-own-window |
98 |
EXAMPLE_CONF_FILE= ${WRKSRC}/data/conky.conf |
117 |
EXAMPLE_CONF_FILE= ${WRKSRC}/data/conky.conf |
99 |
.else |
118 |
.else |
100 |
CONFIGURE_ARGS+= --disable-x11 --disable-own-window |
|
|
101 |
EXAMPLE_CONF_FILE= ${WRKSRC}/data/conky_no_x11.conf |
119 |
EXAMPLE_CONF_FILE= ${WRKSRC}/data/conky_no_x11.conf |
102 |
.endif |
120 |
.endif |
103 |
|
121 |
|
104 |
.if ${PORT_OPTIONS:MIMLIB2} || ${PORT_OPTIONS:MLUA_IMLIB2} |
|
|
105 |
LIB_DEPENDS+= libImlib2.so:graphics/imlib2 |
106 |
CONFIGURE_ARGS+= --enable-imlib2 |
107 |
.else |
108 |
CONFIGURE_ARGS+= --disable-imlib2 |
109 |
.endif |
110 |
|
111 |
.if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} |
112 |
USES+= lua:51 |
113 |
CONFIGURE_ARGS+= --enable-lua |
114 |
.else |
115 |
CONFIGURE_ARGS+= --disable-lua |
116 |
.endif |
117 |
|
122 |
|
118 |
.if ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2} |
|
|
119 |
LIB_DEPENDS+= libtolua++-5.1.so:lang/tolua++ |
120 |
.endif |
121 |
|
123 |
|
122 |
post-patch: |
124 |
post-patch: |
123 |
@${REINPLACE_CMD} -e 's,lua5\.1,lua-5.1,g' \ |
125 |
@${REINPLACE_CMD} -e 's,lua5\.1,lua-5.1,g' \ |