mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
40d5080c51
- Add PKGNAMESUFFIX=2 - Use GNU_CONFIGURE instead of HAS_CONFIGURE - Disable all warnings with -w - Add DOCSDIR= and EXAMPLESDIR= - Break lines around 80 characters - Add DOCS and EXAMPLES Options GLFW is a free, Open Source, multi-platform library for OpenGL application development that provides a powerful API for handling operating system specific tasks such as opening an OpenGL window, reading keyboard, mouse, joystick and time input, creating threads, and more. WWW: http://www.glfw.org/
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
--- ./lib/x11/Makefile.x11.in.orig 2013-05-30 16:07:32.000000000 +0200
|
|
+++ ./lib/x11/Makefile.x11.in 2013-09-30 12:46:48.994429398 +0200
|
|
@@ -26,19 +26,19 @@
|
|
# Install GLFW static library
|
|
##########################################################################
|
|
install: libglfw.a libglfw.pc
|
|
- $(INSTALL) -d $(PREFIX)/lib
|
|
- $(INSTALL) -c -m 644 libglfw.a $(PREFIX)/lib/libglfw.a
|
|
- $(INSTALL) -d $(PREFIX)/include/GL
|
|
- $(INSTALL) -c -m 644 ../../include/GL/glfw.h $(PREFIX)/include/GL/glfw.h
|
|
- $(INSTALL) -d $(PREFIX)/lib/pkgconfig
|
|
- $(INSTALL) -c -m 644 libglfw.pc $(PREFIX)/lib/pkgconfig/libglfw.pc
|
|
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib
|
|
+ $(INSTALL) -c -m 644 libglfw.a $(DESTDIR)$(PREFIX)/lib/libglfw.a
|
|
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/include/GL
|
|
+ $(INSTALL) -c -m 644 ../../include/GL/glfw.h $(DESTDIR)$(PREFIX)/include/GL/glfw.h
|
|
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/pkgconfig
|
|
+ $(INSTALL) -c -m 644 libglfw.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/libglfw.pc
|
|
|
|
|
|
##########################################################################
|
|
# Install GLFW static and shared libraries
|
|
##########################################################################
|
|
dist-install: libglfw.so install
|
|
- $(INSTALL) -c -m 644 libglfw.so $(PREFIX)/lib/libglfw.so
|
|
+ $(INSTALL) -c -m 644 libglfw.so $(DESTDIR)$(PREFIX)/lib/libglfw.so
|
|
|
|
|
|
##########################################################################
|