1 # Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
4 PORTNAME= stormbaancoureur
8 MASTER_SITES= http://www.stolk.org/stormbaancoureur/download/ \
9 http://mirror.amdmi3.ru/distfiles/
11 MAINTAINER= amdmi3@FreeBSD.org
12 COMMENT= Simulated obstacle course for automobiles
14 BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \
15 ${LOCALBASE}/lib/libode.a:devel/ode
19 MAKE_ENV= DATADIR="${DATADIR}"
21 BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur
22 INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur
24 PLIST_FILES= bin/${PORTNAME}
28 OPTIONS_DEFINE= ALSA DOCS
31 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
32 ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
33 ALSA_MAKE_ENV= ALSA_LIBS="-lasound"
34 ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-src-common-soundenginealsa.cxx \
35 ${FILESDIR}/extra-patch-src-common-soundenginealsa.h
38 @${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \
39 ${WRKSRC}/src-stormbaancoureur/main.cxx
42 ${MKDIR} ${STAGEDIR}${DOCSDIR}
43 ${INSTALL_DATA} ${INSTALL_WRKSRC}/README ${STAGEDIR}${DOCSDIR}
44 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
46 .include <bsd.port.mk>