View | Details | Raw Unified | Return to bug 60929
Collapse All | Expand All

(-)games/gnomechess/Makefile (-10 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	gnomechess
8
PORTNAME=	gnomechess
9
PORTVERSION=	0.3.3
9
PORTVERSION=	0.3.3
10
PORTREVISION=	1
10
CATEGORIES=	games gnome
11
CATEGORIES=	games gnome
11
MASTER_SITES=	${MASTER_SITE_GNOME}
12
MASTER_SITES=	${MASTER_SITE_GNOME}
12
MASTER_SITE_SUBDIR=	sources/gnome-chess/0.3
13
MASTER_SITE_SUBDIR=	sources/gnome-chess/0.3
Lines 20-36 Link Here
20
21
21
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
22
USE_GMAKE=	yes
23
USE_GMAKE=	yes
23
USE_GNOME=	yes
24
USE_GNOME=	gnomecanvas gnomehack gnomeprefix libglade
24
USE_PERL5_BUILD=yes
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
27
		LIBS="-L${LOCALBASE}/lib"
27
		LDFLAGS="-L${LOCALBASE}/lib"
28
29
pre-patch:
30
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
31
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
32
	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
33
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
34
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
35
28
36
.include <bsd.port.mk>
29
.include <bsd.port.mk>

Return to bug 60929