2005-09-11 01:16:02 +02:00
|
|
|
# New ports collection makefile for: vor
|
|
|
|
# Date created: 07 Sep 2005
|
2006-12-21 21:41:33 +01:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2005-09-11 01:16:02 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vor
|
2007-06-04 21:43:26 +02:00
|
|
|
PORTVERSION= 0.5.3
|
2005-09-11 01:16:02 +02:00
|
|
|
CATEGORIES= games
|
2006-12-21 21:41:33 +01:00
|
|
|
MASTER_SITES= http://qualdan.com/vor/ \
|
|
|
|
http://www.amdmi3.ru/distfiles/
|
2005-09-11 01:16:02 +02:00
|
|
|
|
2006-12-21 21:41:33 +01:00
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
2005-09-11 01:16:02 +02:00
|
|
|
COMMENT= Dodge the rocks until you die
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone
|
|
|
|
|
|
|
|
USE_SDL= mixer image sdl
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2006-04-24 15:10:41 +02:00
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
|
2005-09-11 01:16:02 +02:00
|
|
|
post-patch:
|
2006-04-24 15:10:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/sound.c
|
2005-09-11 01:16:02 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|^\(my_objects.*\)$$|\1 ${LOCALBASE}/lib/libargp.a|' ${WRKSRC}/Makefile
|
2006-04-24 15:10:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/vor|${DATADIR}|' ${WRKSRC}/Makefile
|
2005-09-11 01:16:02 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vor ${PREFIX}/bin
|
2007-02-22 06:40:05 +01:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
.for d in *.png *.wav *.mod
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/${d} ${DATADIR}/
|
2006-04-24 15:10:41 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2007-06-04 21:43:26 +02:00
|
|
|
.include <bsd.port.mk>
|