[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / caprice32

File: [cvs.NetBSD.org] / pkgsrc / emulators / caprice32 / Makefile (download)

Revision 1.3, Fri May 1 20:11:47 2020 UTC (3 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.2: +3 -6 lines

emulators/caprice32: remove no-op file patterns from SUBST_FILES

There are no placeholders in src/cap32.cfg, and cap32.cfg doesn't exist.

# $NetBSD: Makefile,v 1.3 2020/05/01 20:11:47 rillig Exp $

DISTNAME=	caprice32-4.6.0
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_GITHUB:=ColinPitrat/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/ColinPitrat/caprice32
COMMENT=	Emulator of the Amstrad CPC 8bit home computer range
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	gmake pkg-config
USE_LANGUAGES=	c c++
MAKE_FILE=	makefile

MAKE_FLAGS+=	prefix=${PREFIX}
MAKE_FLAGS+=	GIT_HASH="pkgsrc"

SUBST_CLASSES+=		conf
SUBST_STAGE.conf=	pre-configure
SUBST_MESSAGE.conf=	Fix paths.
SUBST_FILES.conf=	src/cap32.cpp
SUBST_FILES.conf+=	doc/man6/cap32.6
SUBST_VARS.conf=	PREFIX PKG_SYSCONFDIR

EGDIR=		${PREFIX}/share/examples/caprice32

CONF_FILES+=	${EGDIR}/cap32.cfg ${PKG_SYSCONFDIR}/cap32.cfg

RESTRICTED=	Questionable ROM images in source tree
NO_SRC_ON_FTP=	${RESTRICTED}

.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"