1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/cave9/Makefile
Dmitry Marakasov e7910523b5 - Update to 0.4
- OptionsNG
- Trim header

Feature safe:	yes
2012-12-04 12:38:23 +00:00

44 lines
894 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= cave9
PORTVERSION= 0.4
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_src-${PORTVERSION}
DISTFILES= ${DISTNAME}.tgz \
${PORTNAME}_data-${DATAVER}.tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gravity cave-exploration game
DATAVER= 4
USE_GMAKE= yes
USE_SDL= sdl ttf image
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= GNUmakefile
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
PORTDOCS= *
.include <bsd.port.options.mk>
post-extract:
@${MV} ${WRKDIR}/data ${WRKSRC}/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>