2006-03-18 23:14:20 +01:00
|
|
|
# New ports collection makefile for: REminiscence
|
|
|
|
# Date created: 11 Feb 2005
|
2006-12-21 21:41:33 +01:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-03-18 23:14:20 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= REminiscence
|
2007-03-18 14:34:30 +01:00
|
|
|
PORTVERSION= 0.1.9
|
2010-02-03 01:45:11 +01:00
|
|
|
PORTREVISION= 4
|
2006-03-18 23:14:20 +01:00
|
|
|
CATEGORIES= games
|
2007-03-18 14:34:30 +01:00
|
|
|
MASTER_SITES= http://cyxdown.free.fr/reminiscence/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2006-03-18 23:14:20 +01:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-03-18 23:14:20 +01:00
|
|
|
COMMENT= A rewritten engine for Flashback
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_SDL= sdl
|
|
|
|
|
|
|
|
ALL_TARGET= rs
|
|
|
|
|
2007-04-10 08:03:10 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2006-03-18 23:14:20 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^CXX =/ d' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e '/^CXXFLAGS:=/ d' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e '/^CXXFLAGS+=.*-W/ d' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin
|
|
|
|
${MKDIR} ${DATADIR}/data
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
|
|
|
|
2010-02-03 01:45:11 +01:00
|
|
|
.include <bsd.port.mk>
|