Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/graphics/glfw/Makefile 309114 2012-12-17 17:35:34Z pawel $ |
2 |
# $FreeBSD: head/graphics/glfw/Makefile 309114 2012-12-17 17:35:34Z pawel $ |
3 |
|
3 |
|
4 |
PORTNAME= glfw |
4 |
PORTNAME= glfw |
5 |
PORTVERSION= 2.7.7 |
5 |
PORTVERSION= 2.7.8 |
6 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
7 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
8 |
|
8 |
|
Lines 23-29
Link Here
|
23 |
USE_XORG= x11 xau xdamage xdmcp xext xfixes xrandr xrender xxf86vm |
23 |
USE_XORG= x11 xau xdamage xdmcp xext xfixes xrandr xrender xxf86vm |
24 |
USE_GL= glu |
24 |
USE_GL= glu |
25 |
USE_LDCONFIG= yes |
25 |
USE_LDCONFIG= yes |
26 |
MAKE_JOBS_UNSAFE=yes |
26 |
MAKE_JOBS_UNSAFE= yes |
27 |
|
27 |
|
28 |
PLIST_FILES= include/GL/glfw.h \ |
28 |
PLIST_FILES= include/GL/glfw.h \ |
29 |
lib/libglfw.a \ |
29 |
lib/libglfw.a \ |
Lines 31-38
Link Here
|
31 |
lib/libglfw.so.0 \ |
31 |
lib/libglfw.so.0 \ |
32 |
libdata/pkgconfig/libglfw.pc |
32 |
libdata/pkgconfig/libglfw.pc |
33 |
|
33 |
|
34 |
PORTDOCS= *.pdf |
34 |
PORTDOCS= * |
35 |
PORTEXAMPLES= Makefile.x11.in *.c *.tga |
35 |
|
|
|
36 |
DOCSRCDIR1= ${WRKSRC} |
37 |
DOC_FILES1= *.html |
38 |
|
39 |
DOCSRCDIR2= ${WRKSRC}/docs |
40 |
DOCSDIR2= ${DOCSDIR}/docs |
41 |
DOC_FILES2= *.pdf *.sty *.tex *.txt |
42 |
|
43 |
PORTEXAMPLES= * |
44 |
|
45 |
EXAMPLESSRCDIR1= ${WRKSRC}/examples |
46 |
EXAMPLES_FILES1= boing gears heightmap listmodes mipmaps mtbench mthello \ |
47 |
pong3d splitview triangle wave |
48 |
|
49 |
EXAMPLESSRCDIR2= ${WRKSRC}/tests |
50 |
EXAMPLESDIR2= ${EXAMPLESDIR}/tests |
51 |
EXAMPLES_FILES2= accuracy defaults dynamic events fsaa fsinput iconify \ |
52 |
joysticks peter reopen tearing version |
36 |
|
53 |
|
37 |
.include <bsd.port.options.mk> |
54 |
.include <bsd.port.options.mk> |
38 |
|
55 |
|
Lines 53-67
Link Here
|
53 |
${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${PREFIX}/lib/libglfw.so |
70 |
${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${PREFIX}/lib/libglfw.so |
54 |
|
71 |
|
55 |
.if ${PORT_OPTIONS:MDOCS} |
72 |
.if ${PORT_OPTIONS:MDOCS} |
56 |
${MKDIR} ${DOCSDIR} |
73 |
@${MKDIR} ${DOCSDIR} |
57 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} |
74 |
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} |
|
|
75 |
@${MKDIR} ${DOCSDIR2} |
76 |
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} |
58 |
.endif |
77 |
.endif |
59 |
|
78 |
|
60 |
.if ${PORT_OPTIONS:MEXAMPLES} |
79 |
.if ${PORT_OPTIONS:MEXAMPLES} |
61 |
${MKDIR} ${EXAMPLESDIR} |
80 |
@${MKDIR} ${EXAMPLESDIR} |
62 |
.for e in ${PORTEXAMPLES} |
81 |
${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} ${EXAMPLESDIR} |
63 |
${INSTALL_DATA} ${WRKSRC}/examples/${e} ${EXAMPLESDIR} |
82 |
${INSTALL_DATA} ${EXAMPLESSRCDIR1}/*.tga ${EXAMPLESDIR} |
64 |
.endfor |
83 |
@${MKDIR} ${EXAMPLESDIR2} |
|
|
84 |
${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} ${EXAMPLESDIR2} |
65 |
.endif |
85 |
.endif |
66 |
|
86 |
|
67 |
.include <bsd.port.mk> |
87 |
.include <bsd.port.mk> |