mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
45d7ea7693
SIDPlayer is a replayer program for C64 music (SID tunes). You can think of it as being a stripped-down C64 emulator that only emulates the processor and the sound chip of the C64. It also supports the SID option of the Catweasel MK3 PCI card. PR: ports/81537 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: sidplayer
|
|
# Date created: 27 May 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sidplayer
|
|
PORTVERSION= 4.4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://wwwthep.physik.uni-mainz.de/~cbauer/
|
|
DISTNAME= SIDPlayer-${PORTVERSION}
|
|
|
|
MAINTAINER= ehaupt@critical.ch
|
|
COMMENT= A C64 SID tune player
|
|
|
|
USE_SDL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
SDLINCLUDEDIR= SDL11
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
|
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
|
|
CPPFLAGS="${CPPFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|SDL/SDL_endian\.h|${SDLINCLUDEDIR}/SDL_endian\.h|' \
|
|
${WRKSRC}/src/main_sdl.cpp
|
|
|
|
do-install:
|
|
${INSTALL} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${CP} ${WRKSRC}/PSID\ Demo/* ${DOCSDIR}/
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "=============================================================="
|
|
@${ECHO_MSG} "A huge SID tune archive can be found at http://hvsc.c64.org/"
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} "You can find a few examples in ${DOCSDIR}"
|
|
.endif
|
|
@${ECHO_MSG} "=============================================================="
|
|
|
|
.include <bsd.port.mk>
|