1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Fix LICENSE

- Add LICENSE_FILE
- Convert USE_SDL=yes to USE_SDL=sdl
- Switch to options helpers
- Remove leftover noop SDL(12) hack
- Convert INSTALL+STRIP to more correct INSTALL_PROGRAM

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-02-05 13:58:57 +00:00
parent 964ea2eb7e
commit 87e080d1d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492230

View File

@ -12,27 +12,21 @@ DISTNAME= SIDPlayer-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= C64 SID tune player
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_SDL= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
SDLINCLUDEDIR= SDL
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
SUB_FILES= pkg-message
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} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/PSID\ Demo/* ${STAGEDIR}${DOCSDIR}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>