blob: a8f2d72f8561997bbcc2fe8adc1b3b5a1d627e88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.7 2020/08/17 20:19:01 leot Exp $
DISTNAME= grafx2-2.7.2950-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://gitlab.com/GrafX2/grafX2/-/jobs/428763304/artifacts/raw/
EXTRACT_SUFX= .tgz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://grafx2.gitlab.io/grafX2/
COMMENT= Ultimate 256-color bitmap paint program
LICENSE= gnu-gpl-v2
USE_TOOLS+= curl gmake pkg-config
USE_LANGUAGES= c c++
WRKSRC= ${WRKDIR}/grafx2/src
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Set PREFIX
SUBST_FILES.fix-paths= main.c
SUBST_VARS.fix-paths= PREFIX
BUILD_MAKE_FLAGS+= LFLAGS=${COMPILER_RPATH_FLAG}${X11BASE}/lib
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|