File:  [cvs.NetBSD.org] / pkgsrc / games / eboard / Makefile
Revision 1.49: download - view: text, annotated - select for diffs
Wed Nov 14 22:21:29 2018 UTC (6 years ago) by kleink
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD
Revbump after cairo 1.16.0 update.

# $NetBSD: Makefile,v 1.49 2018/11/14 22:21:29 kleink Exp $
#

DISTNAME=		eboard-1.0.4
PKGREVISION=		35
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=eboard/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.bergo.eng.br/eboard/
COMMENT=		Graphical user interface for playing chess
LICENSE=		gnu-gpl-v2

USE_PKGLOCALEDIR=	yes
HAS_CONFIGURE=		yes
CONFIGURE_ENV+=		PKGMANDIR=${PKGMANDIR}
CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--man-prefix=${PREFIX}/${PKGMANDIR}
USE_LANGUAGES=		c c++03
USE_TOOLS+=		perl gmake pkg-config
CONFIG_SHELL=		perl
REPLACE_PERL+=		configure
LDFLAGS+=		${LIBOSSAUDIO}
LDFLAGS.SunOS+=		-lsocket -lnsl

SUBST_CLASSES+=		mf
SUBST_STAGE.mf=		post-configure
SUBST_MESSAGE.mf=	Fixing autogenerated Makefile
SUBST_FILES.mf=		Makefile
SUBST_SED.mf=		-e 's/^CXXFLAGS.*=/CXXFLAGS += $${CPPFLAGS} /'
SUBST_SED.mf+=		-e 's/^LDFLAGS.*=/LDFLAGS += $${CXXFLAGS}/'

BUILDLINK_TRANSFORM+=	rm:-O6

.include "../../mk/oss.buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>