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

                      
                    
                     
                                                       
 
                                  
                                                       
 


                                 

                                                     

                                     
                                             
 
                                             
                                   
                   
                                  
 


                           
                 
 
                        
                   
 

                        
 
           

                                                                       

             
                                            
 
                      
# Created by: Edwin Groothuis

PORTNAME=	enigma
PORTVERSION=	1.21
CATEGORIES=	games
MASTER_SITES=	SF/enigma-game/Release%20${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Reimplementation of Oxyd, a puzzle game

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libxerces-c.so.3:textproc/xerces-c3 \
		libpng.so:graphics/png \
		libenet.so:net/enet \
		libcurl.so:ftp/curl
BUILD_DEPENDS=	convert:graphics/ImageMagick6

USES=		gmake localbase pkgconfig sdl
USE_SDL=	image mixer sdl ttf
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-system-enet

SUB_FILES=	pkg-message

PORTDOCS=	*
PORTDATA=	*

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=nls

post-patch:
	@${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \
		${WRKSRC}/etc/enigma.desktop

post-install:
	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING

.include <bsd.port.mk>