mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
4ca0e60800
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
29 lines
694 B
Makefile
29 lines
694 B
Makefile
# New ports collection makefile for: baduki
|
|
# Date created: 11 December 1999
|
|
# Whom: spcoltri@unm.edu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= baduki
|
|
PORTVERSION= 0.2.9
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://autoinst.acs.uci.edu/pub/go/baduki/
|
|
|
|
MAINTAINER= spcoltri@omcl.org
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_GTK= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
|
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
|
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|