2013-06-18 11:46:51 +00:00
|
|
|
# Created by: Jan Stocker <Jan.Stocker@t-online.de>
|
2003-05-18 00:48:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= egoboo
|
2008-02-12 23:16:07 +00:00
|
|
|
PORTVERSION= 2.7.5
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 8
|
2008-02-12 23:16:07 +00:00
|
|
|
PORTEPOCH= 1
|
2003-05-18 00:48:04 +00:00
|
|
|
CATEGORIES= games
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Linux%20Source%20Distro/${PORTVERSION}
|
2008-02-12 23:16:07 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME:S/-/-data-/}${EXTRACT_SUFX}
|
2003-05-18 00:48:04 +00:00
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2008-02-12 23:16:07 +00:00
|
|
|
COMMENT= A 3D dungeon crawling adventure in the spirit of NetHack
|
2003-05-18 00:48:04 +00:00
|
|
|
|
2013-12-21 00:36:41 +00:00
|
|
|
USES= gmake
|
2008-02-12 23:16:07 +00:00
|
|
|
USE_SDL= sdl ttf mixer image
|
|
|
|
USE_GL= yes
|
2013-06-18 11:46:51 +00:00
|
|
|
USE_DOS2UNIX= *.c
|
2003-05-18 00:48:04 +00:00
|
|
|
|
2008-02-12 23:16:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/game
|
|
|
|
MAKEFILE= Makefile.unix
|
2013-12-21 00:36:41 +00:00
|
|
|
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
|
2003-08-24 18:37:43 +00:00
|
|
|
|
2013-06-18 11:46:51 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME}
|
|
|
|
PORTDATA= *
|
|
|
|
|
2003-05-18 00:48:04 +00:00
|
|
|
post-patch:
|
2008-02-12 23:16:07 +00:00
|
|
|
@${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-/} && \
|
2013-12-21 00:36:41 +00:00
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
2003-05-18 00:48:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|