summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2019-09-01 18:53:13 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2019-09-01 18:53:13 +0200
commit830a797b413ceadf424dbbcaec2d0d13d348b275 (patch)
treef654dabf9b5efea18b6ad51c3e1a5e837c039f25
parentd0e3ccd5604bf4fe4bcdf36e88d69daeb5ac467a (diff)
xkeyboard-config: cleanup a bit
-rw-r--r--x11/xkeyboard-config/Makefile99
1 files changed, 6 insertions, 93 deletions
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index c6c1b23..19e3784 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -9,109 +9,22 @@ HOMEPAGE = https://www.freedesktop.org/wiki/Software/XKeyboardConfig/
MAINTAINER = xenocara@openbsd.org
-# FTL / GPL https://www.freetype.org/license.html
+# MIT
PERMIT_PACKAGE = Yes
-PERMIT_DISTFILES = Yes
# "make port-lib-depends-check" can help
#WANTLIB = ???
MASTER_SITES = ${MASTER_SITE_XORG:=data/xkeyboard-config/}
-# build/configuration variables
-#
-# SEPARATE_BUILD = Yes
+BUILD_DEPENDS = devel/xorgproto \
+ x11/libX11
+
+SEPARATE_BUILD = Yes
USE_GMAKE = Yes
-# Programs that require GNU libtool to build instead of the OpenBSD one
-# should use this option. Add a comment explaining why. Don't use this if
-# a port requires libtool's .m4 files but otherwise can use OpenBSD libtool,
-# in that case use "BUILD_DEPENDS=devel/libtool" instead.
-#USE_LIBTOOL= gnu
-# Set CONFIGURE_STYLE to value corresponding to some standard configuration
-# perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's
-# Module::Build Build.PL)
-# gnu [autoconf] [old] [dest]: gnu style configure (old: no
-# sysconfdir), (dest: add DESTDIR, does not handle it),
-# autoconf: run autoconf to regenerate configure script. implies gnu.
-# (see also "do-gen" target below).
-# XXX: cygnus products do NOT use autoconf for making the main
-# configure from configure.in
-# imake [noman]: port uses imake for configuration.
-# (noman: no man page installation)
-# simple: port has its own configure script
-# none: override default CONFIGURE_STYLE coming from a module
-# (needed for some ports using lang/python, etc.)
CONFIGURE_STYLE = gnu
-# CONFIGURE_ARGS =
-
-# for gnu stuff
-#AUTOCONF_VERSION = ??? (defaults to 2.13)
-#AUTOMAKE_VERSION = ??? (defaults to 1.4)
-# config.guess and others are copied here
-#MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC})
-
-# Is the build automagic or is it interactive
-#
-#IS_INTERACTIVE = Yes
-#TEST_IS_INTERACTIVE = Yes
-
-# Assume you have one multiple choice flavor: 1 2 3 and switches a b.
-# You would write
-#
-#FLAVORS = 1 2 3 a b
-#FLAVOR ?=
-# grab multiple choice value
-#CHOICE = ${FLAVOR:Na:Nb}
-# check that CHOICE is 1 OR 2 OR 3, or error out
-#.if ${CHOICE} == "1"
-# code for 1
-#.elif ${CHOICE} == "2"
-# code for 2
-#.elif ${CHOICE} == "3"
-# code for 3
-#.else
-#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}"
-#.endif
-# check for switches
-#.if ${FLAVOR:Ma}
-# code for a
-#.endif
-#.if ${FLAVOR:Mb}
-# code for b
-#.endif
-
-# Things that we don't want to do for this port/package
-# Generally, DON'T set anything to No if it's not needed.
-# The time gained is not worth it.
-#
-#NO_BUILD = Yes
-#NO_TEST = Yes
-
-# Overrides for default values
-#
-#CFLAGS = ???
-#LDFLAGS = ???
-#MAKE_FILE = ???
-#PKG_ARCH = ??? (* for arch-independent packages)
-#WRKDIST = ??? if other than ${WRKDIR}/${DISTNAME}
-#WRKSRC = ??? if other than ${WRKDIST}
-#WRKBUILD = ??? if other than ${WRKSRC}
-#WRKCONF = ??? if other than ${WRKBUILD}
-
-#ALL_TARGET = ???
-#INSTALL_TARGET = ???
-#TEST_TARGET = ???
-# For ports that use a script or autoreconf to generate autoconf/automake
-# files (where "CONFIGURE_STYLE=autoconf" isn't enough), use some/all of these
-# dependencies, and add a do-gen target:
-#
-#BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
-# ${MODGNU_AUTOMAKE_DEPENDS} \
-# devel/libtool
-#
-#do-gen:
-# cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
+NO_TEST = Yes
.include <bsd.port.mk>