summaryrefslogblamecommitdiff
path: root/games/alephone/Makefile
blob: e01d3ba3881f52faba757906a34b1b1432bfa2d8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                





                                                                    
                        
                      


                                          
                                       


                                      
                                                           
                                                                   



                                             


                                          




                                                                   
             




                             
# New ports collection makefile for:	alephone
# Date created:		27 February 2001
# Whom:			Michael Alyn Miller <malyn@strangeGizmo.com>
#
# $FreeBSD$
#

PORTNAME=	alephone
PORTVERSION=	0.12.0
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	marathon
DISTNAME=	AlephOne-${PORTVERSION}

MAINTAINER=	malyn@strangeGizmo.com

LIB_DEPENDS=	SDL-1.1.4:${PORTSDIR}/devel/sdl12:install \
		SDL_image.10:${PORTSDIR}/graphics/sdl_image:install

SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"

post-patch:
	@${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \
		${WRKSRC}/Source_Files/Network/network.cpp \
		${WRKSRC}/Source_Files/Network/network_stream.cpp \

post-install:
.if !defined(NOPORTDOCS)
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>