1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-drivers/synaptics/Makefile
Florent Thoumie f34ee8f90a - Fix x11-drivers/synaptics after latest xorg-server update.
- Clean up a bit while I'm here (use hardcoded xorg-server version).

Reported by:	droso
2008-06-18 14:03:48 +00:00

62 lines
1.5 KiB
Makefile

# New ports collection makefile for: synaptics
# Date created: 2004-01-02
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= synaptics
PORTVERSION= 0.14.6
PORTREVISION= 6
CATEGORIES= x11-drivers
MASTER_SITES= http://web.telia.com/~u89404340/touchpad/files/:synaptics
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:synaptics \
${X_DISTFILES:C/$/:x11/}
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= nork@FreeBSD.org
COMMENT= The Synaptics touchpad X driver
USE_XORG= xorg-server xi xproto
USE_BZIP2= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
MASTER_SITES+= ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/:x11 \
http://xorg.freedesktop.org/releases/individual/xserver/:x11
DIST_SUBDIR= xorg/xserver
X_DISTFILES= xorg-server-1.4.2.tar.bz2
EXTRA_PATCHES= ${FILESDIR}/extra-xorg-server-1.4
post-patch:
@${REINPLACE_CMD} 's|\(ALLINCLUDES = -I.\)|\1 -I${LOCALBASE}/include -I${LOCALBASE}/include/pixman-1|' \
${WRKSRC}/Makefile
MAKE_ENV= TOP=${WRKDIR}/xc CFLAGSCLIENT="${CFLAGS}"
MAN1= synclient.1 # syndaemon.1
MAN5= synaptics.5
PORTDOCS= COMPATIBILITY FILES INSTALL INSTALL.DE INSTALL.FR \
README README.alps TODO
post-extract:
.for FILE in ${X_DISTFILES}
@cd ${WRKDIR} && \
${GZIP_CMD} -dc ${_DISTDIR}/${FILE} | ${TAR} -xf -
.endfor
pre-install:
${MKDIR} ${LOCALBASE}/lib/xorg/modules/input/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>