2013-01-15 14:40:28 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-05-27 10:24:44 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sidplayer
|
|
|
|
PORTVERSION= 4.4
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 4
|
2005-05-27 10:24:44 +02:00
|
|
|
CATEGORIES= audio
|
2006-06-01 19:15:38 +02:00
|
|
|
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
|
2008-03-27 23:15:47 +01:00
|
|
|
CRITICAL
|
2005-05-27 10:24:44 +02:00
|
|
|
DISTNAME= SIDPlayer-${PORTVERSION}
|
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 15:00:30 +01:00
|
|
|
COMMENT= C64 SID tune player
|
2005-05-27 10:24:44 +02:00
|
|
|
|
2011-12-27 16:14:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2005-05-27 10:24:44 +02:00
|
|
|
USE_SDL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2006-09-20 13:21:59 +02:00
|
|
|
SDLINCLUDEDIR= SDL
|
2005-05-27 10:24:44 +02:00
|
|
|
|
2013-01-15 14:40:28 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2005-05-27 10:24:44 +02:00
|
|
|
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}
|
2013-01-15 14:40:28 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-05-27 10:24:44 +02:00
|
|
|
${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/"
|
2013-01-15 14:40:28 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-05-27 10:24:44 +02:00
|
|
|
@${ECHO_MSG} "You can find a few examples in ${DOCSDIR}"
|
|
|
|
.endif
|
|
|
|
@${ECHO_MSG} "=============================================================="
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|