aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-11-10 08:25:04 +0800
committernaddy <naddy@FreeBSD.org>2003-11-10 08:25:04 +0800
commita5913891e91afd24969cd090cd0906272a197fda (patch)
tree6aede62d3ee35b76312558bcff61fec132e78b5b /graphics
parentcc72af8ede9632047c03b5fd60565bc5b6c9b80a (diff)
downloadfreebsd-ports-gnome-a5913891e91afd24969cd090cd0906272a197fda.tar.gz
freebsd-ports-gnome-a5913891e91afd24969cd090cd0906272a197fda.tar.zst
freebsd-ports-gnome-a5913891e91afd24969cd090cd0906272a197fda.zip
Update to 2.0.1.
PR: 58573 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freeglut/Makefile13
-rw-r--r--graphics/freeglut/distinfo2
-rw-r--r--graphics/freeglut/files/patch-src::freeglut_joystick.c14
3 files changed, 20 insertions, 9 deletions
diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile
index a6a9f94accbb..6a4cc7190019 100644
--- a/graphics/freeglut/Makefile
+++ b/graphics/freeglut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= freeglut
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -33,14 +33,14 @@ REINPLACE_ARGS= -i ""
DOCS= download.html freeglut.html freeglut_logo.png \
freeglut_user_interface.html index.html ogl_sm.png \
progress.html structure.html
-BINS= fractals fractals_random lorenz one
+BINS= Fractals Fractals_random Lorenz One
post-patch:
@${REINPLACE_CMD} -e "s|/usr/X11R6|${X11BASE}|g" \
-e "s|/usr/local|${LOCALBASE}|g" \
${WRKSRC}/aclocal.m4
.for fract in /fractals.c _random/fractals_random.c
- ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
+ @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
${WRKSRC}/progs/demos/Fractals${fract}
.endfor
@@ -55,13 +55,10 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/progs/demos/Fractals/fractals.dat \
${EXAMPLESDIR}
.for FILE in ${BINS}
- @${MV} ${PREFIX}/bin/${FILE} ${EXAMPLESDIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/${FILE}/.libs/${FILE:L} \
+ ${EXAMPLESDIR}
.endfor
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.else
-.for FILE in ${BINS}
- @${RM} ${PREFIX}/bin/${FILE}
-.endfor
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE} | \
diff --git a/graphics/freeglut/distinfo b/graphics/freeglut/distinfo
index 08804cae1c2b..8b5cd3a60f6d 100644
--- a/graphics/freeglut/distinfo
+++ b/graphics/freeglut/distinfo
@@ -1 +1 @@
-MD5 (freeglut-2.0.0.tar.gz) = 06ab94ab2fbbce61644780e1d746bf34
+MD5 (freeglut-2.0.1.tar.gz) = da82607f76eb218539ee2265080b10ec
diff --git a/graphics/freeglut/files/patch-src::freeglut_joystick.c b/graphics/freeglut/files/patch-src::freeglut_joystick.c
new file mode 100644
index 000000000000..839f07f5e0c5
--- /dev/null
+++ b/graphics/freeglut/files/patch-src::freeglut_joystick.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/freeglut_joystick.c.orig Mon Nov 10 01:09:42 2003
++++ src/freeglut_joystick.c Mon Nov 10 01:10:52 2003
+@@ -57,7 +57,7 @@
+ # include <unistd.h>
+ # include <fcntl.h>
+ # if defined(__FreeBSD__) || defined(__NetBSD__)
+-# if __FreeBSD_version >= 500000
++# if defined(__FreeBSD__)
+ # include <sys/joystick.h>
+ # else
+ # include <machine/joystick.h>