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

File: [cvs.NetBSD.org] / pkgsrc / games / xu4 / Makefile (download)

Revision 1.2, Thu Jun 14 07:45:27 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.1: +2 -1 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.2 2012/06/14 07:45:27 sbd Exp $
#

DISTNAME=	xu4-1.0beta3
PKGREVISION=	1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=xu4/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://xu4.sourceforge.net/
COMMENT=	Remake of Ultima IV
LICENSE=	gnu-gpl-v2

DEPENDS+=	timidity-[0-9]*:../../audio/timidity

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/u4
CONFIGURE_DIRS=	src
USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake

INSTALLATION_DIRS=	share/doc/xu4

SUBST_CLASSES+=		prefix
SUBST_SED.prefix=	-e "s,/usr/local,${PREFIX},"
SUBST_FILES.prefix=	src/u4file.cpp README
SUBST_STAGE.prefix=	pre-build
SUBST_MESSAGE.prefix=	Fixing path to installed files.

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xu4

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"