aboutsummaryrefslogblamecommitdiff
path: root/games/rottdc/Makefile
blob: 31c267a73cbab9d6b4cc59faa3069d0ff1a2418f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                          




                      
                     
                 
                     
                                          
                              
 
                                 








                                                      


                                                                   













                                                               
# New ports collection makefile for:	rottdc
# Date created:				18 Feb 2004
# Whom:					Igor Pokrovsky <tiamat@comset.net>
#
# $FreeBSD$
#

PORTNAME=	rottdc
DISTVERSION=	1.0-2
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	sdl-dc

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Apogee's Rise Of The Triad source port

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_SDL=	sdl mixer
USE_XLIB=	yes

WRKSRC=		${WRKDIR}/${DISTNAME}/rott

post-patch:
	@${REINPLACE_CMD} -e '433s,^static ,,' ${WRKSRC}/rt_actor.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rott ${PREFIX}/bin
.ifndef (NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA}	${WRKDIR}/${DISTNAME}/README ${DOCSDIR}
.for i in cheats cmdline
	${INSTALL_DATA} ${WRKSRC}/${i}.txt ${DOCSDIR}
.endfor
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>