aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-04-11 02:26:09 +0800
committerrnoland <rnoland@FreeBSD.org>2009-04-11 02:26:09 +0800
commit1b76747d849e34a6be4a79436a968a95a978907a (patch)
tree29ff7637540bb311367b499ba9e215b5abaae6b5 /x11-drivers
parent882eee6df6202f83e0f20a1bdaf58f8c28c4faf9 (diff)
downloadfreebsd-ports-gnome-1b76747d849e34a6be4a79436a968a95a978907a.tar.gz
freebsd-ports-gnome-1b76747d849e34a6be4a79436a968a95a978907a.tar.zst
freebsd-ports-gnome-1b76747d849e34a6be4a79436a968a95a978907a.zip
Update the nouveau snapshot and remove BROKEN now that libdrm has
been updated. PR: 133557 Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-nouveau/Makefile38
-rw-r--r--x11-drivers/xf86-video-nouveau/distinfo6
2 files changed, 34 insertions, 10 deletions
diff --git a/x11-drivers/xf86-video-nouveau/Makefile b/x11-drivers/xf86-video-nouveau/Makefile
index f3590bed69d1..3295fc8ed61c 100644
--- a/x11-drivers/xf86-video-nouveau/Makefile
+++ b/x11-drivers/xf86-video-nouveau/Makefile
@@ -1,15 +1,15 @@
-# New ports collection makefile for: xf86-video-nouveau
-# Date Created: 29 Jan 2009
-# Whom: Anonymous <swell.k@gmail.com>
+# New ports collection makefile for: xf86-video-nouveau
+# Date Created: 29 Jan 2009
+# Whom: Anonymous <swell.k@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xf86-video-nouveau
-PORTVERSION= 0.0.10.20090129
-PORTREVISION= 1
+PORTVERSION= 0.0.10.${SNAPDATE}
+DISTVERSIONSUFFIX=.${SNAPREV}
CATEGORIES= x11-drivers
-MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/
MAINTAINER= x11@FreeBSD.org
COMMENT= Free nouveau display driver for nvidia-based cards
@@ -18,6 +18,30 @@ XORG_CAT= driver
USE_XORG= videoproto xextproto xf86driproto glproto
MAN4= nouveau.4x
-BROKEN= does not compile
+MAKE_JOBS_SAFE= yes
+
+SNAPDATE= 20090408
+SNAPREV= d8545e6
+
+post-configure:
+ ${REINPLACE_CMD} '/NV_DRIVER_DATE/s/".*"/"${SNAPDATE}.${SNAPREV}"/' ${WRKSRC}/config.h
+
+GIT_WORK= ${WRKDIR}/${PORTNAME}.git-clone
+GIT_REV= $$(echo $$(date -ur$$(git log --pretty=format:%ct -1 \
+ ) +%Y%m%d).$$(git log --pretty=format:%h -1))
+
+maint-gen-distfile:
+ git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau \
+ ${GIT_WORK}
+
+ ( cd ${GIT_WORK}; \
+ git log --stat >ChangeLog; \
+ autoreconf -if; \
+ ${TAR} cjf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_REV}.tar.bz2 \
+ --exclude '.git*' --exclude autogen.sh --exclude autom4te.cache \
+ -s "|${GIT_WORK}|${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_REV}|" \
+ ${GIT_WORK} )
+
+ ${RM} -rf ${GIT_WORK}
.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-nouveau/distinfo b/x11-drivers/xf86-video-nouveau/distinfo
index f7700f80e58d..9445c294ce7c 100644
--- a/x11-drivers/xf86-video-nouveau/distinfo
+++ b/x11-drivers/xf86-video-nouveau/distinfo
@@ -1,3 +1,3 @@
-MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = ea4663197027d798b2d287b315721832
-SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = a8fe3ba39aa691535c7423134bc6b6224c6bd8fbfdee3ed523301892976c6bdf
-SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = 569851
+MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 84d00c5524502e618b6629d37aa7190c
+SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 29b017bb1b8590c967e5472747a177e3ce7af43bbd48b23eb9f6fd95d252c9da
+SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 531494