1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/trophy/Makefile

41 lines
831 B
Makefile
Raw Normal View History

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= trophy
PORTVERSION= 2.0.3
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= makc@FreeBSD.org
COMMENT= Single player racing game
2011-08-29 19:45:11 +00:00
LICENSE= GPLv2
LIB_DEPENDS= libclanCore.so:${PORTSDIR}/devel/clanlib1
2013-09-18 08:38:20 +00:00
USES= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
pre-configure:
${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
${WRKSRC}/resources/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>