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

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

Revision 1.11, Wed Sep 8 21:05:06 2021 UTC (6 weeks, 3 days ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD
Changes since 1.10: +2 -2 lines

Recursive revbump for audio/jack

# $NetBSD: Makefile,v 1.11 2021/09/08 21:05:06 nia Exp $

DISTNAME=	love-0.9.2-linux-src
PKGNAME=	${DISTNAME:S/-linux-src//:S/love/love09/}
PKGREVISION=	6
CATEGORIES=	games lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=love2d/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://love2d.org/
COMMENT=	Framework for making 2D games in Lua (version 0.9)
LICENSE=	zlib

WRKSRC=		${WRKDIR}/${DISTNAME:S/-linux-src//}
GNU_CONFIGURE=	yes
USE_LANGUAGES=	c c++

USE_TOOLS+=	pkg-config
USE_LIBTOOL=	yes

GNU_CONFIGURE_PREFIX=		${PREFIX}/love0.9
GNU_CONFIGURE_MANDIR=		${PREFIX}/love0.9/${PKGMANDIR}/
BUILDLINK_PASSTHRU_DIRS+=	${PREFIX}/love0.9/lib
BUILDLINK_PASSTHRU_RPATHDIRS+=	${PREFIX}/love0.9/lib

INSTALLATION_DIRS+=	bin
post-install:
	${LN} -sf ../love0.9/bin/love ${DESTDIR}${PREFIX}/bin/love0.9

.include "options.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
BUILDLINK_API_DEPENDS.physfs+=	physfs>=2.0
.include "../../devel/physfs/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/devIL/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../audio/mpg123/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"