aboutsummaryrefslogtreecommitdiff
path: root/audio/sidplayer/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-05-27 08:24:44 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-05-27 08:24:44 +0000
commit45d7ea76933c2492ac37433bf5b0db613a01a6c1 (patch)
treec8a75feaba12c3e90263a112dbe4a527671b2e71 /audio/sidplayer/Makefile
parent95b2561585e0886b96a6d99eb0defff06b99c8a9 (diff)
Notes
Diffstat (limited to 'audio/sidplayer/Makefile')
-rw-r--r--audio/sidplayer/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/audio/sidplayer/Makefile b/audio/sidplayer/Makefile
new file mode 100644
index 000000000000..5ddbb5f32833
--- /dev/null
+++ b/audio/sidplayer/Makefile
@@ -0,0 +1,47 @@
+# 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>