aboutsummaryrefslogtreecommitdiffstats
path: root/games/grhino/Makefile
blob: 5ca3d9663ed280236f29c515fa820044a200046f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    grhino
# Date created:             21 Sep 2002
# Whom:                 UMENO Takashi <umeno@rr.iij4u.or.jp>
#
# $FreeBSD$
#

PORTNAME=   grhino
PORTVERSION=    0.15.0
PORTREVISION=   1
CATEGORIES= games gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rhino

MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT=    GRhino Othello/Reversi Program

USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_GNOME=  gnomeprefix libgnomeui
USE_GCC=    3.4+
USE_PERL5_BUILD=yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_OMF=   yes
PLIST_SUB+= VERSION=${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>