Lines 2-12
Link Here
|
2 |
# Date created: 7 Nov 2003 |
2 |
# Date created: 7 Nov 2003 |
3 |
# Whom: anholt@FreeBSD.org |
3 |
# Whom: anholt@FreeBSD.org |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/graphics/mesa-demos/Makefile,v 1.11 2006/09/02 16:51:00 kris Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= demos |
8 |
PORTNAME= demos |
9 |
PORTVERSION= 6.4.1 |
9 |
PORTVERSION= 6.5.1 |
10 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= mesa3d/ |
12 |
MASTER_SITE_SUBDIR= mesa3d/ |
Lines 19-49
Link Here
|
19 |
|
19 |
|
20 |
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut |
20 |
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut |
21 |
|
21 |
|
22 |
BROKEN= Does not compile |
|
|
23 |
DEPRECATED= ${BROKEN} |
24 |
EXPIRATION_DATE=2006-12-01 |
25 |
|
26 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
27 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
28 |
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ |
24 |
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ |
29 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
25 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
30 |
ALL_TARGET= |
26 |
ALL_TARGET= |
31 |
MAKE_ARGS= SUBDIRS="progs/demos progs/osdemos" |
27 |
MAKE_ARGS= SUBDIRS="progs/demos" |
32 |
WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION} |
28 |
WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION} |
33 |
DATADIR= ${PREFIX}/share/mesa-demos |
29 |
DATADIR= ${PREFIX}/share/mesa-demos |
34 |
|
30 |
|
35 |
DEMO_PROGS= bounce clearspd cubemap drawpix fire gamma gears geartrain \ |
31 |
DEMO_PROGS= glinfo winpos gamma renormal glutfx paltex clearspd glslnoise \ |
36 |
glinfo gloss gltestperf glutfx ipers isosurf lodbias morph3d \ |
32 |
singlebuffer bounce spectex readpix arbocclude texobj texdown \ |
37 |
multiarb occlude paltex pixeltex pointblast ray \ |
33 |
lodbias texcyl vao_demo arbfslight fplight fogcoord trispd \ |
38 |
readpix reflect renormal shadowtex spectex stex3d teapot \ |
34 |
drawpix multiarb cubemap tessdemo pointblast gltestperf \ |
39 |
terrain tessdemo texcyl texdown texenv texobj trispd tunnel \ |
35 |
arbfplight gears spriteblast gloss terrain gearbox teapot \ |
40 |
tunnel2 |
36 |
ipers reflect shadowtex texenv fire stex3d ray morph3d \ |
41 |
DEMO_IMAGES= bw.rgb girl.rgb reflect.rgb s128.rgb tile.rgb tree2.rgba \ |
37 |
isosurf engine tunnel tunnel2 geartrain |
42 |
tree3.rgb wrs_logo.rgb |
38 |
|
|
|
39 |
DEMO_IMAGES= arch.rgb bw.rgb girl.rgb girl2.rgb reflect.rgb s128.rgb \ |
40 |
tile.rgb tree2.rgba tree3.rgb wrs_logo.rgb |
43 |
DEMO_DATA= geartrain.dat isosurf.dat terrain.dat |
41 |
DEMO_DATA= geartrain.dat isosurf.dat terrain.dat |
44 |
|
42 |
|
45 |
# Generate packing list |
43 |
# Generate packing list |
46 |
PLIST_FILES= bin/osdemo |
44 |
PLIST_FILES= |
47 |
.for prog in ${DEMO_PROGS} |
45 |
.for prog in ${DEMO_PROGS} |
48 |
PLIST_FILES+= bin/${prog} |
46 |
PLIST_FILES+= bin/${prog} |
49 |
.endfor |
47 |
.endfor |
Lines 68-75
Link Here
|
68 |
${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/$$prog \ |
66 |
${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/$$prog \ |
69 |
${PREFIX}/bin ; \ |
67 |
${PREFIX}/bin ; \ |
70 |
done |
68 |
done |
71 |
${INSTALL_PROGRAM} ${WRKSRC}/progs/osdemos/osdemo \ |
|
|
72 |
${PREFIX}/bin ; \ |
73 |
${MKDIR} ${PREFIX}/share/mesa-demos/images |
69 |
${MKDIR} ${PREFIX}/share/mesa-demos/images |
74 |
${MKDIR} ${PREFIX}/share/mesa-demos/data |
70 |
${MKDIR} ${PREFIX}/share/mesa-demos/data |
75 |
@for img in ${DEMO_IMAGES}; do \ |
71 |
@for img in ${DEMO_IMAGES}; do \ |
Lines 83-89
Link Here
|
83 |
.include <bsd.port.pre.mk> |
79 |
.include <bsd.port.pre.mk> |
84 |
|
80 |
|
85 |
.if ${X_WINDOW_SYSTEM:L} != xorg |
81 |
.if ${X_WINDOW_SYSTEM:L} != xorg |
86 |
IGNORE= does not build with XFree86 |
82 |
IGNORE= does not build with XFree86 |
87 |
.endif |
83 |
.endif |
88 |
|
84 |
|
89 |
.include <bsd.port.post.mk> |
85 |
.include <bsd.port.post.mk> |