mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
4390b62fc3
- Switch to USES=localbase - Fix build with clang 6 - Add desktop entry - Switch to options helpers
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flyhard
|
|
PORTVERSION= 0.42
|
|
PORTREVISION= 15
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.markboyd.me.uk/games/flyhard/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Game resembling Thrust, but with lots of shooting and puzzles
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h
|
|
BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
|
|
|
|
USES= gmake localbase
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl mixer
|
|
|
|
CXXFLAGS+= -Wno-c++11-narrowing
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
PORTDATA= *
|
|
|
|
DESKTOP_ENTRIES="Fly Hard" \
|
|
"" \
|
|
"${DATADIR}/images/ship.png" \
|
|
"${PORTNAME}" \
|
|
"Game;ArcadeGame;" \
|
|
false
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} 644 {} +
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|