1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/games/luola/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

44 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= luola
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ # master site gone
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
stdlevels-6.0${EXTRACT_SUFX} \
nostalgia-1.2${EXTRACT_SUFX}
DIST_SUBDIR= luola
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D multiplayer cave-flying game
GNU_CONFIGURE= yes
USES= gmake
USE_SDL= sdl image ttf
CONFIGURE_ARGS= --program-prefix=''
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= SDL_GFX SOUND DOCS
OPTIONS_DEFAULT=SDL_GFX SOUND
SDL_GFX_DESC= Nicer graphics
SDL_GFX_USE= SDL=gfx
SDL_GFX_CONFIGURE_ENABLE=sdl-gfx
SOUND_USE= SDL=mixer
SOUND_CONFIGURE_ENABLE= sound
post-patch:
@${REINPLACE_CMD} -e '/LIBS=.*-lSDL_/ s|\(SDL_[a-z]*\)|\1 `sdl-config --libs`|' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKDIR}/*.lev ${WRKDIR}/*.png ${STAGEDIR}${DATADIR}/levels/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>