1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/sfml/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

69 lines
1.5 KiB
Makefile

PORTNAME= sfml
PORTVERSION= 2.5.1
PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple and Fast Multimedia Library
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/license.md
USE_GITHUB= yes
GH_ACCOUNT= SFML
GH_PROJECT= SFML
USES= cmake compiler:c++11-lang
CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \
-DSFML_USE_SYSTEM_DEPS=ON
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/share/SFML
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES DOXYGEN
OPTIONS_GROUP= MODULES
OPTIONS_GROUP_MODULES= WINDOW GRAPHICS AUDIO NETWORK
OPTIONS_DEFAULT=${OPTIONS_GROUP_MODULES}
OPTIONS_SUB= yes
MODULES_DESC= SFML modules
WINDOW_DESC= SFML Window module
WINDOW_CMAKE_BOOL= SFML_BUILD_WINDOW
WINDOW_USES= gl xorg
WINDOW_USE= XORG=x11,xrandr GL=gl
GRAPHICS_DESC= SFML Graphics module
GRAPHICS_CMAKE_BOOL= SFML_BUILD_GRAPHICS
GRAPHICS_LIB_DEPENDS= libfreetype.so:print/freetype2
GRAPHICS_IMPLIES= WINDOW
AUDIO_DESC= SFML Audio module
AUDIO_CMAKE_BOOL= SFML_BUILD_AUDIO
AUDIO_USES= openal:al
AUDIO_LIB_DEPENDS= libFLAC.so:audio/flac \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis
NETWORK_DESC= SFML Network module
NETWORK_CMAKE_BOOL= SFML_BUILD_NETWORK
DOXYGEN_CMAKE_BOOL= SFML_BUILD_DOC
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_IMPLIES= DOCS
EXAMPLES_CMAKE_BOOL= SFML_BUILD_EXAMPLES
post-install:
@${RM} ${STAGEDIR}${PREFIX}/*.pc
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/changelog.md ${WRKSRC}/readme.md \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>