1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/reminiscence/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: REminiscence
# Date created: 11 Feb 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= REminiscence
PORTVERSION= 0.1.9
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://cyxdown.free.fr/reminiscence/ \
http://www.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= A rewritten engine for Flashback
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl
ALL_TARGET= rs
MAKE_ENV= CXX="${CXX}"
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
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}
.include <bsd.port.mk>