mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
45 lines
963 B
Makefile
45 lines
963 B
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cave9
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
USES= gmake
|
|
USE_SDL= sdl ttf image
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
MAKEFILE= GNUmakefile
|
|
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${MV} ${WRKDIR}/data ${WRKSRC}/
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|