pkgsrc/games/crossfire-client/Makefile.common
jperkin 5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00

34 lines
1.1 KiB
Text

# $NetBSD: Makefile.common,v 1.7 2018/07/04 13:40:18 jperkin Exp $
# used by games/crossfire-client/Makefile
# used by games/crossfire-client-gtk/Makefile
# used by games/crossfire-client-gtk2/Makefile
DISTNAME= crossfire-client-${CROSSFIRE_VERSION}
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://crossfire.real-time.com/
CROSSFIRE_VERSION= 1.11.0
DISTINFO_FILE= ${.CURDIR}/../../games/crossfire-client/distinfo
PATCHDIR= ${.CURDIR}/../../games/crossfire-client/patches
USE_TOOLS+= gmake perl:run
GNU_CONFIGURE= yes
REPLACE_PERL+= common/items.pl utils/deftoheader.pl
SUBST_CLASSES+= dsp
SUBST_STAGE.dsp= pre-configure
SUBST_MESSAGE.dsp= Adjusting path to sound device.
SUBST_FILES.dsp= sound-src/cfsndserv.c
SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"