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

                                           
 
                                 
                                                                             
                                         
 
                                                       
                   
                                                         
                                                                             

                           
                                                

                         
                    
 
           
                                                                   

                   
                                       
                        
                                                               
       
 
                      
PORTNAME=	rubix
PORTVERSION=	1.0.6
PORTREVISION=	8
CATEGORIES=	games
MASTER_SITES=	http://sed.free.fr/rubix/ \
		http://mirror.mcx2.org/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Another Rubik's cube game with a rather interesting interface
WWW=		http://sed.free.fr/rubix/

USES=		compiler:nestedfct gmake tar:bzip2 xorg
USE_XORG=	x11
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
		XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
ALL_TARGET=	${PORTNAME}

PORTDOCS=	AUTHORS BUGS INSTALL README TODO
PLIST_FILES=	bin/rubix

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rubix ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>