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

                       
                   
                 



                                                         
                                          
 
                     
                                 
 
                        
                                   
                                                  
                                     
 
           


                                                                             
 


                                                         
                      
# Created by: Jesse Smith <jessefrgsmith@yahoo.ca>
# $FreeBSD$

PORTNAME=	openssn
PORTVERSION=	1.4
PORTREVISION=	6
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	jessefrgsmith@yahoo.ca
COMMENT=	Modern submarine simulator

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		sdl xorg
USE_SDL=	sdl gfx image mixer
USE_XORG=	x11 xau xdmcp xext xmu xpm xxf86vm
WRKSRC=		${WRKDIR}/${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -E \
		-e '/cp|mkdir/s,\$$\(PREFIX\)|\$$\(DATADIR\),$$(DESTDIR)&,' \
		-e 's,share/man/man6,man/man6,' ${WRKSRC}/Makefile

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>