blob: dc9075ee09032b5cab2e37d16b52c1e770e01e0b (
plain) (
blame)
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
|
# New ports collection makefile for: xracer
# Date created: Nov 6th 1999
# Whom: troll
#
# $FreeBSD$
#
PORTNAME= xracer
PORTVERSION= 0.94
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
MASTER_SITE_SUBDIR= distfiles
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-data${EXTRACT_SUFX}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Awesome WipeOut clone for OpenGL and X11!
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
USE_GL= glut
USE_GMAKE= yes
USE_AUTOTOOLS= automake:14 autoconf:213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-esd
PORTDOCS= AUTHORS README README.html
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${ARCH} != i386 && ${ARCH} != "amd64"
BROKEN= Does not build on ${ARCH}
.endif
post-extract:
@${TOUCH} ${WRKSRC}/stamp-h.in
@cd ${WRKSRC} && \
${REINPLACE_CMD} -e 's|machine/joystick.h|sys/joystick.h|g' \
configure.in src/joystick/freebsd.c
${CHMOD} -R a=r ${WRKDIR}/${PORTNAME}-data
${CHMOD} -R +X ${WRKDIR}/${PORTNAME}-data
post-install:
@${MKDIR} ${DATADIR}
@${TAR} -C ${WRKDIR}/xracer-data -cf - . | \
${TAR} -C ${DATADIR} --unlink -xf -
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|