2000-01-29 05:15:08 -05:00
|
|
|
# New ports collection makefile for: gnomechess
|
|
|
|
# Date created: 29 January 2000
|
|
|
|
# Whom: Jeremy Lea <reg@shale.csir.co.za>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 02:53:26 -04:00
|
|
|
PORTNAME= gnomechess
|
2001-08-27 08:16:37 -04:00
|
|
|
PORTVERSION= 0.3.3
|
2000-01-29 05:15:08 -05:00
|
|
|
CATEGORIES= games gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-chess
|
2000-04-14 02:53:26 -04:00
|
|
|
DISTNAME= gnome-chess-${PORTVERSION}
|
2000-01-29 05:15:08 -05:00
|
|
|
|
2000-01-29 17:11:15 -05:00
|
|
|
MAINTAINER= reg@FreeBSD.org
|
2000-01-29 05:15:08 -05:00
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty
|
|
|
|
RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
|
2000-01-29 05:15:08 -05:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
2000-01-29 05:15:08 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2001-07-10 05:38:49 -04:00
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
2000-01-29 05:15:08 -05:00
|
|
|
.include <bsd.port.mk>
|