mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
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
This commit is contained in:
parent
b8e73bf540
commit
3bdea41198
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559460
@ -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 xxf86vm
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user