2012-10-02 12:28:23 +02:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
2004-01-25 22:29:45 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-09-10 01:31:03 +02:00
|
|
|
PORTNAME= trophy
|
2012-03-13 11:35:39 +01:00
|
|
|
PORTVERSION= 2.0.3
|
2012-10-02 12:28:23 +02:00
|
|
|
PORTREVISION= 2
|
2007-09-10 01:31:03 +02:00
|
|
|
CATEGORIES= games
|
2009-08-27 20:31:08 +02:00
|
|
|
MASTER_SITES= SF
|
2004-01-25 22:29:45 +01:00
|
|
|
|
2012-03-13 11:35:39 +01:00
|
|
|
MAINTAINER= makc@FreeBSD.org
|
2013-05-12 13:48:49 +02:00
|
|
|
COMMENT= Single player racing game
|
2004-01-25 22:29:45 +01:00
|
|
|
|
2011-08-29 21:45:11 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-10-23 15:08:41 +02:00
|
|
|
LIB_DEPENDS= libclanCore.so:${PORTSDIR}/devel/clanlib1
|
2004-01-25 22:29:45 +01:00
|
|
|
|
2013-09-18 10:38:20 +02:00
|
|
|
USES= pkgconfig
|
|
|
|
|
2012-03-13 11:35:39 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
2012-10-02 12:28:23 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2010-02-10 21:40:35 +01:00
|
|
|
|
2012-03-13 11:35:39 +01:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
|
|
|
|
|
2013-05-12 13:48:49 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-07-27 13:03:38 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-03-13 11:35:39 +01:00
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
|
|
|
|
${WRKSRC}/resources/Makefile.in
|
2010-02-10 21:40:35 +01:00
|
|
|
|
|
|
|
post-install:
|
2012-07-27 13:03:38 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-23 15:08:41 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2004-01-25 22:29:45 +01:00
|
|
|
.endif
|
|
|
|
|
2004-10-06 07:10:30 +02:00
|
|
|
.include <bsd.port.mk>
|