1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/stormbaancoureur/Makefile
2023-04-25 17:17:15 +02:00

51 lines
1.3 KiB
Makefile

PORTNAME= stormbaancoureur
PORTVERSION= 2.1.6
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.stolk.org/stormbaancoureur/download/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simulated obstacle course for automobiles
WWW= https://www.stolk.org/stormbaancoureur/
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libode.so:devel/ode
USES= compiler gl pkgconfig
USE_GL= gl glu glut
USE_CXXSTD= c++98
MAKE_ENV= DATADIR="${DATADIR}"
BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur
INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= ALSA DOCS
OPTIONS_DEFAULT=ALSA
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
ALSA_MAKE_ENV= ALSA_LIBS="-lasound"
ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-src-common-soundenginealsa.cxx \
${FILESDIR}/extra-patch-src-common-soundenginealsa.h
post-patch:
@${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \
${WRKSRC}/src-stormbaancoureur/main.cxx
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>