1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/games/pinball/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

48 lines
1.0 KiB
Makefile

# Created by: thierry@pompo.net
PORTNAME= pinball
PORTVERSION= 0.3.20201218
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= thierry@FreeBSD.org
COMMENT= Emilia Pinball is a free pinball game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:devel/libltdl
USE_GITHUB= yes
GH_ACCOUNT= adoptware
USES= autoreconf compiler:c++11-lang gl gmake localbase:ldflags \
libtool:keepla pkgconfig sdl xorg # .la needed for plugin loading
USE_XORG= ice sm
USE_GL= gl glu
USE_SDL= image mixer sdl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-debug
CPPFLAGS+= -DRZR_LIBSTATIC
SCOREDIR= /var/games
PLIST_SUB= SCOREDIR=${SCOREDIR}
#MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so*
.for table in professor tux
(cd ${STAGEDIR}${SCOREDIR}/${PORTNAME}/${table} && \
${MV} highscores highscores.sample)
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>