49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xf86-input-wacom
|
|
PORTVERSION= 0.32.0
|
|
CATEGORIES= x11-drivers
|
|
MASTER_SITES= SF/linuxwacom/${PORTNAME}
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= X.Org Wacom tablet driver
|
|
|
|
LICENSE= GPLv2 # or any later version
|
|
|
|
BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat
|
|
RUN_DEPENDS= webcamd>=3.1.0.1:${PORTSDIR}/multimedia/webcamd
|
|
|
|
USES= tar:bzip2 pathfix pkgconfig libtool
|
|
USE_XORG= xrandr xinerama
|
|
XORG_CAT= driver
|
|
USE_RC_SUBR= wacom
|
|
SUB_FILES= pkg-message
|
|
CONFIGURE_ENV= UDEV_CFLAGS=" " UDEV_LIBS=" "
|
|
CONFIGURE_ARGS= --without-systemd-unit-dir \
|
|
--without-udev-rules-dir \
|
|
--without-doxygen
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DEBUG TEST
|
|
|
|
DEBUG_CONFIGURE_ENABLE=debug
|
|
|
|
TEST_CONFIGURE_ENABLE=unit-tests
|
|
TEST_ALL_TARGET=check
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's/dir=.*xorg-server/& \
|
|
--define-variable prefix="$$prefix"/' \
|
|
${WRKSRC}/configure
|
|
|
|
# XXX adjust MatchProduct to whatever Xorg/devd reports
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s/ conf//' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d
|
|
${INSTALL_DATA} ${FILESDIR}/wacom.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d
|
|
|
|
.include <bsd.port.mk>
|