1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/trophy/Makefile
Tijl Coosemans dd6f9aecd2 Convert graphics/sdl_gfx to USES=libtool. Also set USE_AUTOTOOLS because
upstream forgot to regenerate the build scripts.  This makes the build use
the correct version information and causes a library version bump.  Use
this opportunity to use USES=libtool instead of USES=libtool:oldver.
Bump PORTREVISION on all dependent ports and convert them to USES=libtool
where needed.  Also use USES=(gmake, pathfix, tar) and new LIB_DEPENDS
syntax here and there.

games/freedink-engine:
- Option helpers.
- Staging.
- Use dirrmtry for locale directories.

games/oolite:
- Staging.
- Replace ECHO with ECHO_CMD.
- Don't use GNUSTEP_PREFIX to install files because it expands to
  LOCALBASE rather than PREFIX.

games/openssn:
- Remove USES=desktop-file-utils.  No MimeType field in desktop file.
- Staging.
- Install files in standard DATADIR.

games/xblast:
- Use proper options.
- Staging.
- Patch configure so normal make install can be used instead of do-install.
- Replace TAR | TAR with COPYTREE_SHARE.
2014-05-02 14:16:49 +00:00

41 lines
831 B
Makefile

# 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
LICENSE= GPLv2
LIB_DEPENDS= libclanCore.so:${PORTSDIR}/devel/clanlib1
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>