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


                                           
           

 
                      
                      
                 
                     
                  
                               
 
                                  
                                                         
 
                   
                   
                          
 
                        
                          
 
           

                                                                                              
 



                                                                    
                      
# New ports collection makefile for:   cgoban
# Date created:        28 October 1996
# Whom:                simonm@dcs.gla.ac.uk
#
# $FreeBSD$
#

PORTNAME=	cgoban
PORTVERSION=	1.9.14
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	cgoban1

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Internet Go Server client and game editor

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_XORG=	x11 ice sm

MAN6=		cgoban.6
PLIST_FILES=	bin/cgoban

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c
	@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/configure

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6

.include <bsd.port.mk>