3c9a1d11c2
This knob was turned on for all version of FreeBSD in r369875 (2014-10-03) and officially deprecated. Since then, it was gradually removed from many ports when they needed an update. x11-servers/xorg-server was the last major user of this knob. The port was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid of the knob, clearing the path to the final removal. This commit changes ports who were checking for WITH_NEW_XORG and remove its handling from bsd.port.mk. While here, two sanity checks are added to warn user about WITH_KMS and WITH_NEW_XORG which have no effect now. Differential Revision: https://reviews.freebsd.org/D1351 Reviewed by: antoine, bapt, kwm Approved by: portmgr (antoine, bapt), kwm
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sea-defender
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/:DEFAULT,icon \
|
|
SF/nemysisfreebsdp/:icon
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icon
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Simple missile command clone
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= snoutmate
|
|
GH_PROJECT= Sea-Defender
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= d628051
|
|
|
|
USES= gmake
|
|
USE_SDL= sdl mixer image ttf
|
|
USE_GL= gl glu
|
|
USE_XORG= x11 xrandr
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
libexec/${PORTNAME} \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= *
|
|
|
|
DESKTOP_ENTRIES="Sea Defender" \
|
|
"${COMMENT}" \
|
|
"${PORTNAME}" \
|
|
"${PORTNAME}" \
|
|
"Game;ArcadeGame;" \
|
|
""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|