1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/egoboo/Makefile
Dmitry Marakasov 17fae564aa - Support staging
- Convert USE_GMAKE to USES
2013-12-21 00:36:41 +00:00

38 lines
912 B
Makefile

# Created by: Jan Stocker <Jan.Stocker@t-online.de>
# $FreeBSD$
PORTNAME= egoboo
PORTVERSION= 2.7.5
PORTREVISION= 8
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Linux%20Source%20Distro/${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/-/-data-/}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A 3D dungeon crawling adventure in the spirit of NetHack
USES= gmake
USE_SDL= sdl ttf mixer image
USE_GL= yes
USE_DOS2UNIX= *.c
WRKSRC= ${WRKDIR}/${DISTNAME}/game
MAKEFILE= Makefile.unix
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/egoboo|${DATADIR}|g; \
s|cp -a|cp -RPp|; s|/usr/libexec|${PREFIX}/libexec|' \
${WRKSRC}/egoboo.sh
post-install:
@cd ${WRKDIR}/${DISTNAME:S/-/-data-/} && \
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>