diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-01-15 13:40:28 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-01-15 13:40:28 +0000 |
commit | c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch) | |
tree | 98f96307b5a32cecd5d4e2104c22673c560b9789 /audio/sidplayer | |
parent | 56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff) | |
download | ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip |
Notes
Diffstat (limited to 'audio/sidplayer')
-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} "==============================================================" |