1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/trophy/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

51 lines
1.2 KiB
Makefile

# 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= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
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 {} \;
@${REINPLACE_CMD} -e 's/std::sqrt/sqrt/' ${BUILD_WRKSRC}/caimagemanipulation.cpp \
${BUILD_WRKSRC}/catrophy.cpp ${BUILD_WRKSRC}/camath.cpp
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>