1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Pet portlint

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-09-02 14:48:10 +00:00
parent 1a5ecb5fcd
commit f062eb801f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395849

View File

@ -9,11 +9,13 @@ CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Single-player and multi-player first-person ego-shooter
LICENSE_COMB= multi
LICENSE= MIT ZLIB
LICENSE_COMB= multi
RUN_DEPENDS= redeclipse-data>=1.5.0:${PORTSDIR}/games/redeclipse-data
BROKEN_sparc64= does not build on sparc64
USE_GITHUB= yes
GH_ACCOUNT= red-eclipse
GH_PROJECT= base
@ -46,10 +48,6 @@ OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
BROKEN= does not build on sparc64
.endif
.if ${PORT_OPTIONS:MCLIENT}
DESKTOP_ENTRIES="Red Eclipse" \
"${COMMENT}" \
@ -70,11 +68,11 @@ do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T}_bsd \
${STAGEDIR}${PREFIX}/${f}
.endfor
.if ${PORT_OPTIONS:MCLIENT}
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \
${STAGEDIR}${PREFIX}/share/pixmaps
.endif
(cd ${WRKSRC} && ${COPYTREE_SHARE} config ${STAGEDIR}${DATADIR})
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
do-install-CLIENT-on:
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>