mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
52 lines
1.3 KiB
Makefile
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= 2
|
|
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>
|