freebsd-ports/audio/sidplayer/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

52 lines
1.3 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
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ehaupt
DISTNAME= SIDPlayer-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A C64 SID tune player
USE_SDL= yes
GNU_CONFIGURE= 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>