blob: b78925ff05b0ff2367ac60e5ca1b9d99400e57b5 (
plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: synaptics
# Date created: 2004-01-02
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= synaptics
PORTVERSION= 0.14.6
PORTREVISION= 4
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>
X11VERSION!= ${MAKE} -C `${MAKE} -f bsd.port.mk -VX_SERVER_PORT` \
-VPORTVERSION
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-${X11VERSION}.tar.bz2
PLIST_SUB+= XORG="" XFREE86="@comment "
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>
|