1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/x11/xkbset/Makefile
Mathieu Arnold f57bc4af66 After an include, PLIST_SUB must be appended to, not overwritten.
If it is overwritten, many values will be clobbered, and
pain will ensue.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:11:23 +00:00

39 lines
860 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= xkbset
PORTVERSION= 0.5
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://faculty.missouri.edu/~stephen/software/xkbset/ \
http://www.math.missouri.edu/~stephen/software/xkbset/
MAINTAINER= stephen@FreeBSD.org
COMMENT= Manage various XKB features of X Window
LICENSE= BSD3CLAUSE
USE_XORG= x11
USE_PERL5= build
USES= perl5
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>