1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix license

- Switch to USES=localbase
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2021-01-25 18:46:27 +00:00
parent 9480689d86
commit cdf256027c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562602

View File

@ -12,17 +12,20 @@ DISTNAME= abuse-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
LICENSE= GPLv2+ PD WTFPL BPRINCE
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL
LICENSE_FILE_WTFPL= ${WRKSRC}/COPYING.WTFPL
LICENSE_NAME_BPRINCE= Boby Prince permission for Debian to redistribute music/sfx files
LICENSE_PERMS_BPRINCE= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
USES= pathfix gl sdl
USES= gl localbase:ldflags pathfix sdl
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
@ -33,6 +36,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/abuse.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}