svn commit: r559460 - head/devel/raylib
Juraj Lutter
otis at FreeBSD.org
Mon Dec 28 11:04:25 UTC 2020
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 at sysctl.cz> (maintainer)
Reported by: Mattias Wikstrom <burke at 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 at 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>
More information about the svn-ports-all
mailing list