diff options
Diffstat (limited to 'audio/sidplayer/Makefile')
-rw-r--r-- | audio/sidplayer/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/sidplayer/Makefile b/audio/sidplayer/Makefile index 43b690174a8e..75ca4a1169ad 100644 --- a/audio/sidplayer/Makefile +++ b/audio/sidplayer/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: sidplayer -# Date created: 27 May 2005 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# +# Created by: Emanuel Haupt <ehaupt@critical.ch> # $FreeBSD$ -# PORTNAME= sidplayer PORTVERSION= 4.4 @@ -24,13 +20,17 @@ MAKE_JOBS_SAFE= yes SDLINCLUDEDIR= SDL +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + 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) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${CP} ${WRKSRC}/PSID\ Demo/* ${DOCSDIR}/ .endif @@ -38,7 +38,7 @@ do-install: post-install: @${ECHO_MSG} "==============================================================" @${ECHO_MSG} "A huge SID tune archive can be found at http://hvsc.c64.org/" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "You can find a few examples in ${DOCSDIR}" .endif @${ECHO_MSG} "==============================================================" |