blob: a0f350c55a6160f9aa221924fb091a394255f38c (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: sidplayer
# Date created: 27 May 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= sidplayer
PORTVERSION= 4.4
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
CRITICAL
DISTNAME= SIDPlayer-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A C64 SID tune player
USE_SDL= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
SDLINCLUDEDIR= SDL
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>
|