Lines 7-29
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= freeglut |
9 |
PORTNAME= freeglut |
10 |
PORTVERSION= 2.6.0 |
10 |
PORTVERSION= 2.8.0 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/ |
12 |
MASTER_SITES= SF |
13 |
|
13 |
|
14 |
MAINTAINER= graudeejs@gmail.com |
14 |
MAINTAINER= graudeejs@gmail.com |
15 |
COMMENT= An alternative to the OpenGL Utility Toolkit (GLUT) library |
15 |
COMMENT= An alternative to the OpenGL Utility Toolkit (GLUT) library |
16 |
|
16 |
|
|
|
17 |
LICENSE= MIT |
18 |
|
17 |
CONFLICTS= libglut-[0-9].* |
19 |
CONFLICTS= libglut-[0-9].* |
18 |
|
20 |
|
19 |
USE_AUTOTOOLS= libtool |
21 |
USE_AUTOTOOLS= libtool |
20 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
21 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
22 |
USE_XORG= ice xi |
24 |
USE_XORG= ice xi xxf86vm xrandr |
23 |
USE_GL= glu |
25 |
USE_GL= glu |
24 |
CONFIGURE_ARGS= --disable-warnings |
26 |
CONFIGURE_ARGS= --disable-warnings |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
CPPFLAGS+= -I${LOCALBASE}/include |
26 |
LDFLAGS+= -lusbhid |
28 |
LDFLAGS+= -L${LOCALBASE}/lib -lusbhid |
27 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
28 |
|
30 |
|
29 |
DOCS= download.html freeglut.html freeglut_logo.png \ |
31 |
DOCS= download.html freeglut.html freeglut_logo.png \ |
Lines 31-42
Link Here
|
31 |
progress.html structure.html |
33 |
progress.html structure.html |
32 |
BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes |
34 |
BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes |
33 |
|
35 |
|
34 |
.include <bsd.port.pre.mk> |
|
|
35 |
|
36 |
.if ${OSVERSION} >= 800000 |
37 |
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src__freeglut_joystick.c |
38 |
.endif |
39 |
|
40 |
pre-configure: |
36 |
pre-configure: |
41 |
.for fract in Fractals/fractals.c Fractals_random/fractals_random.c |
37 |
.for fract in Fractals/fractals.c Fractals_random/fractals_random.c |
42 |
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ |
38 |
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ |
Lines 63-72
Link Here
|
63 |
.endfor |
59 |
.endfor |
64 |
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." |
60 |
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." |
65 |
.endif |
61 |
.endif |
66 |
.if ${OSVERSION} >= 800000 |
|
|
67 |
@${ECHO_MSG} |
68 |
@${CAT} ${PKGMESSAGE} |
69 |
@${ECHO_MSG} |
70 |
.endif |
71 |
|
62 |
|
72 |
.include <bsd.port.post.mk> |
63 |
.include <bsd.port.mk> |