blob: 8ed49b1fedbb9977e51ff1a1249f2078122b8792 (
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
|
PORTNAME= ft2play
DISTVERSION= g20220407
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Bit-accurate C port of Fasttracker's XM replayer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= sdl
USE_CSTD= c99
USE_GITHUB= yes
GH_ACCOUNT= 8bitbubsy
GH_TAGNAME= c2b7df5
USE_SDL= sdl2
CFLAGS+= -DAUDIODRIVER_SDL -DNDEBUG `sdl2-config --cflags`
LDFLAGS+= -lm -lpthread `sdl2-config --libs`
PLIST_FILES= bin/ft2play
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/audiodrivers/sdl/*.c \
${WRKSRC}/*.c ${WRKSRC}/ft2play/src/*.c \
-o ${WRKSRC}/ft2play/release/other/ft2play
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ft2play/release/other/ft2play \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|