2012-12-04 01:56:47 +01:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2005-11-25 04:56:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= formido
|
2013-06-05 00:33:37 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2005-11-25 04:56:42 +01:00
|
|
|
CATEGORIES= games
|
2013-06-05 00:33:37 +02:00
|
|
|
MASTER_SITES= http://www.mhgames.org/files/formido/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2005-11-25 04:56:42 +01:00
|
|
|
COMMENT= 2D kill-em all with 3D rendered graphics
|
|
|
|
|
2013-06-05 00:33:37 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/GPL_license.txt
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2013-06-05 00:33:37 +02:00
|
|
|
USE_SDL= sdl mixer image
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= CC="${CXX}" DATDIR="${DATADIR}" DEFCONFIGDIR="${DATADIR}"
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2013-06-05 00:33:37 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2013-06-05 00:33:37 +02:00
|
|
|
PORTDATA= *
|
|
|
|
PORTDOCS= *
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2013-09-20 19:36:33 +02:00
|
|
|
NO_STAGE= yes
|
2012-12-04 01:56:47 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-11-25 04:56:42 +01:00
|
|
|
|
2013-06-05 00:33:37 +02:00
|
|
|
pre-build:
|
|
|
|
@${MKDIR} ${WRKSRC}/obj
|
2005-11-25 04:56:42 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/formido ${PREFIX}/bin
|
|
|
|
${MKDIR} ${DATADIR}
|
2013-06-05 00:33:37 +02:00
|
|
|
.if !defined(NOPORTDATA)
|
|
|
|
cd ${WRKSRC}/data && ${COPYTREE_SHARE} '*' ${DATADIR}/
|
2005-11-25 04:56:42 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/formido.cfg ${DATADIR}
|
|
|
|
.endif
|
2013-06-05 00:33:37 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
2005-11-25 04:56:42 +01:00
|
|
|
.endif
|
|
|
|
|
2012-12-04 01:56:47 +01:00
|
|
|
.include <bsd.port.mk>
|