blob: 7dffb534640ecb945dd0b3d1e66ca128edbb336b (
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
|
# $NetBSD: Makefile,v 1.24 2019/05/27 12:43:32 fox Exp $
DISTNAME= ft2clone-${DISTVERSION}-code
PKGNAME= fasttracker2-${DISTVERSION:C/b/2./}
DISTVERSION= b157
CATEGORIES= audio
MASTER_SITES= https://16-bits.org/ \
${MASTER_SITE_FREEBSD_LOCAL:=ehaupt/}
EXTRACT_SUFX= .zip
MAINTAINER= fox@NetBSD.org
HOMEPAGE= https://16-bits.org/
COMMENT= Portable Fasttracker II clone in C using SDL 2
LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license
WRKSRC= ${WRKDIR}/ft2-clone-code
USE_LANGUAGES= c c++
LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm
INSTALLATION_DIRS+= bin share/pixmaps
do-build:
${CC} ${CFLAGS} ${LDFLAGS} \
${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \
-o ${WRKSRC}/release/other/ft2-clone
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \
${DESTDIR}${PREFIX}/share/pixmaps
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|