blob: 9b789f2763d26f5b9df89156080eab90f54bf780 (
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: Pietro Cerutti <gahr@FreeBSD.org>
# $FreeBSD$
PORTNAME= thingylaunch
PORTVERSION= 2.0.3
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://gahr.ch/thingylaunch/
MAINTAINER= gahr@FreeBSD.org
COMMENT= Lightweight launcher for X
LICENSE= MIT BSD2CLAUSE
LICENSE_COMB= multi
OPTIONS_SINGLE= X11
OPTIONS_SINGLE_X11= LIBX11 LIBXCB
LIBX11_DESC= Build against libX11
LIBXCB_DESC= Build against libXCB
OPTIONS_DEFAULT= LIBX11
USE_XORG= xproto
USE_CXXSTD= c++11
USES= cmake:outsource compiler:c++11-lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBX11}
USE_XORG+= x11
.endif
.if ${PORT_OPTIONS:MLIBXCB}
USE_XORG+= xcb
LIB_DEPENDS+= libxcb-icccm.so:${PORTSDIR}/x11/xcb-util-wm \
libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
CMAKE_ARGS+= -DUSE_XCB:BOOL=ON
.endif
USE_GITHUB= yes
GH_ACCOUNT= gahr
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 385831f
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|