aboutsummaryrefslogtreecommitdiff
path: root/x11/xkbset/Makefile
blob: ab216903ffc324ca31aa7719560aecafb002791f (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
PORTNAME=	xkbset
PORTVERSION=	0.8
DISTVERSIONPREFIX=	v
CATEGORIES=	x11

MAINTAINER=	stephen@FreeBSD.org
COMMENT=	Manage various XKB features of X Window
WWW=		http://www.math.missouri.edu/~stephen/software/ #xkbset

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

USE_GITHUB=	yes
GH_ACCOUNT=	stephenmontgomerysmith

USES=		perl5 xorg
USE_XORG=	x11
USE_PERL5=	build

MAKE_ARGS=	X11BASE="${LOCALBASE}" X11PREFIX="${PREFIX}" \
		INSTALL_DATA="${INSTALL_DATA}" \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}"

OPTIONS_DEFINE=	GUI
GUI_DESC=	Install Tk GUI

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGUI}
RUN_DEPENDS+=	p5-Tk>=0:x11-toolkits/p5-Tk
PLIST_SUB+=	GUI=""
MAKE_ARGS+=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
.else
PLIST_SUB+=	GUI="@comment "
MAKE_ARGS+=	INSTALL_SCRIPT=:
.endif

.include <bsd.port.mk>