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

                        
                     
                                           
                                                           
 
                                 
                                                                  
 
                     
                                    
 

                                            
                   
 

                                         
                                                   
 
                     

                         
 
           

                                                                             
 
                      
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>

PORTNAME=	wmpuzzle
PORTVERSION=	0.5.2
CATEGORIES=	games windowmaker afterstep
MASTER_SITES=	http://people.debian.org/~godisch/wmpuzzle/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Dockable puzzle game for WindowMaker and AfterStep

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

USES=		gmake localbase:ldflags xorg
USE_XORG=	x11 xext xpm
GNU_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${DISTNAME}/src

PLIST_FILES=	bin/wmpuzzle man/man6/wmpuzzle.6.gz

CPPFLAGS+=	-DBSD
# Fix build with clang 11
CFLAGS+=	-fcommon

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmpuzzle ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/wmpuzzle.6 ${STAGEDIR}${MAN6PREFIX}/man/man6

.include <bsd.port.mk>