blob: 9bc81799af99ea69e924ab4e4b7371fa279707ff (
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
|
# New ports collection makefile for: trophy
# Date created: 22 Jan 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= trophy
PORTVERSION= 1.1.3
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= jylefort@brutele.be
COMMENT= A single player racing game
LIB_DEPENDS= clanCore.2:${PORTSDIR}/devel/clanlib
USE_X_PREFIX= yes
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/trophy
MAKE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
post-extract:
@${FIND} ${BUILD_WRKSRC}/resources -name .cvsignore -exec ${RM} -f {} \;
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/trophy ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/resources.scr ${DATADIR}
${CP} -R ${BUILD_WRKSRC}/resources ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} \
${WRKSRC}/AUTHORS \
${WRKSRC}/ChangeLog \
${WRKSRC}/ChangeLog.old \
${WRKSRC}/README \
${WRKSRC}/TODO \
${DOCSDIR}
.endif
.include <bsd.port.mk>
|