mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
39 lines
822 B
Makefile
39 lines
822 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sidplayer
|
|
PORTVERSION= 4.4
|
|
PORTREVISION= 8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
|
|
LOCAL/ehaupt
|
|
DISTNAME= SIDPlayer-${PORTVERSION}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= C64 SID tune player
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_SDL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
SDLINCLUDEDIR= SDL
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
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} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/PSID\ Demo/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|