2000-09-25 09:09:11 +02:00
|
|
|
# New ports collection makefile for: clanbomber
|
|
|
|
# Date created: 10 May 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-11-01 16:51:11 +01:00
|
|
|
PORTNAME= clanbomber
|
2004-05-29 21:51:32 +02:00
|
|
|
PORTVERSION= 1.05
|
2000-11-01 16:51:11 +01:00
|
|
|
CATEGORIES= games
|
2001-09-27 16:52:41 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-09-25 09:09:11 +02:00
|
|
|
|
2004-01-24 15:32:38 +01:00
|
|
|
MAINTAINER= barner@gmx.de
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A bomberman-like multiplayer game
|
2000-09-25 09:09:11 +02:00
|
|
|
|
2004-01-24 15:32:38 +01:00
|
|
|
LIB_DEPENDS= clanCore.2:${PORTSDIR}/devel/clanlib
|
2000-09-25 09:09:11 +02:00
|
|
|
|
2000-11-01 16:51:11 +01:00
|
|
|
USE_XLIB= yes
|
2004-01-24 15:32:38 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-11-01 16:51:11 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-24 15:32:38 +01:00
|
|
|
USE_GMAKE= yes
|
2001-03-29 18:35:19 +02:00
|
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
|
2000-11-01 16:51:11 +01:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
CFLAGS+= -fpermissive
|
2000-09-25 09:09:11 +02:00
|
|
|
|
2004-05-29 21:51:32 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(DISPLAY)
|
|
|
|
IGNORE= needs an X-display to build (binary is used to create resource files)
|
|
|
|
.endif
|
|
|
|
|
2004-01-24 15:32:38 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
|
|
|
|
${WRKSRC}/clanbomber/Resources.cpp
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2004-01-24 15:32:38 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g' \
|
|
|
|
${WRKSRC}/clanbomber/ClanBomber.cpp
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2004-05-29 21:51:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|