Date: Mon, 28 Dec 2020 11:04:24 +0000 (UTC) From: Juraj Lutter <otis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559460 - head/devel/raylib Message-ID: <202012281104.0BSB4O4U087576@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: otis Date: Mon Dec 28 11:04:24 2020 New Revision: 559460 URL: https://svnweb.freebsd.org/changeset/ports/559460 Log: devel/raylib: Install missing header files The header files: - raymath.h - rlgl.h - physac.h were missing from the installation and pkg-plist. Also, while here, cleanup some style nits and bump PORTREVISION. PR: 251819 Submitted by: Martin Filla <freebsd@sysctl.cz> (maintainer) Reported by: Mattias Wikstrom <burke@yagrebu.net> Reviewed by: osa (mentor) Approved by: osa (mentor) Differential Revision: https://reviews.freebsd.org/D27776 Modified: head/devel/raylib/Makefile Modified: head/devel/raylib/Makefile ============================================================================== --- head/devel/raylib/Makefile Mon Dec 28 10:43:33 2020 (r559459) +++ head/devel/raylib/Makefile Mon Dec 28 11:04:24 2020 (r559460) @@ -2,7 +2,7 @@ PORTNAME= raylib DISTVERSION= 3.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel education MAINTAINER= freebsd@sysctl.cz @@ -24,7 +24,9 @@ USE_XORG= ice sm x11 xcursor xext xi xinerama xrandr x CMAKE_ON= SHARED USE_EXTERNAL_GLFW CMAKE_OFF= BUILD_EXAMPLES BUILD_GAMES STATIC -PLIST_FILES= include/raylib.h \ +PLIST_FILES= include/physac.h \ + include/raylib.h \ + include/raymath.h \ lib/cmake/raylib/raylib-config-version.cmake \ lib/cmake/raylib/raylib-config.cmake \ lib/libraylib.so \ @@ -33,7 +35,14 @@ PLIST_FILES= include/raylib.h \ libdata/pkgconfig/raylib.pc post-extract: - # Remove bundled files. - @${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c +# Remove bundled files. + ${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c + +post-install: +# Install all parts for raylib + ${INSTALL_DATA} ${WRKSRC}/src/raylib.h \ + ${WRKSRC}/src/raymath.h \ + ${WRKSRC}/src/physac.h \ + ${STAGEDIR}${PREFIX}/include .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012281104.0BSB4O4U087576>