----------------------------------------
> From: [email protected]
> To: [email protected]
> CC: [email protected]; [email protected]
> Subject: Re: nouveau driver help
> Date: Fri, 4 Oct 2013 15:52:48 +0200
>
>
> (Redirecting to tech@)
>
> Roelof Wobben <[email protected]> writes:
>
>> Hello,
>
> Hi,
>
>> To enjoy Gnome 3.10 fully I need the nouveau driver.
>> But because this is my first attempt to make a port,
>> I wonder if someone can and is willing to help me.
>
> I don't think that porting nouveau is a ports people concern (but rather
> a concern for kernel and xenocara folks).
>
>> I find out that FreeBSd has a port but that one is full of git
>> commands.
>
> I don't understand what this means.

See this Makefile:

 Created by: Anonymous <[email protected]> 
2 # $FreeBSD$ 
3  
4 PORTNAME=       xf86-video-nouveau 
5 PORTVERSION=    0.0.10.${SNAPDATE} 
6 DISTVERSIONSUFFIX=.${SNAPREV} 
7 PORTREVISION=   3 
8 CATEGORIES=     x11-drivers 
9 MASTER_SITES=   ftp://ftp.lissyara.su/users/Guest/distfiles/ 
10  
11 MAINTAINER=     [email protected] 
12 COMMENT=        Free nouveau display driver for nvidia-based cards 
13  
14 XORG_CAT=       driver 
15 USE_XORG=       xf86driproto glproto 
16 MAN4=           nouveau.4x 
17  
18  
19 # also doesn't work with mesa (libGL) version higher then 7.4.x 
20 IGNORE=         Not supported, missing kernel support. use the nvidia 
driver. 
21  
22 NO_STAGE=       yes 
23 post-configure: 
24         ${REINPLACE_CMD} '/NV_DRIVER_DATE/s/".*"/"${SNAPDATE}.${SNAPREV}"/' 
${WRKSRC}/config.h 
25  
26 post-install:   .SILENT 
27         ${ECHO_MSG} 
28         ${CAT} ${PKGMESSAGE} 
29         ${ECHO_MSG} 
30  
31 GIT_WORK=       ${WRKDIR}/${PORTNAME}.git-clone 
32 GIT_DATE=       $$(date -ur$$(git log --pretty=format:%ct -1 ) +%Y%m%d) 
33 GIT_REV=        $$(git log --pretty=format:%h -1) 
34 NEWDISTNAME=    
${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_DATE}.${GIT_REV} 
35  
36 maint-gen-distfile: 
37         git clone git://anongit.freedesktop.org/nouveau/xf86-video-nouveau \ 
38                 ${GIT_WORK} 
39  
40         ( cd ${GIT_WORK}; \ 
41           git log --stat>ChangeLog; \ 
42           autoreconf -if; \ 
43           ${TAR} cjf ${DISTDIR}/${DIST_SUBDIR}/${NEWDISTNAME}${EXTRACT_SUFX} 
\ 
44                 --exclude '.git*' --exclude autogen.sh \ 
45                 --exclude autom4te.cache \ 
46                 -s "|${GIT_WORK}|${NEWDISTNAME}|" \ 
47                 ${GIT_WORK}; \ 
48           ${ECHO_CMD} "SNAPDATE=        ${GIT_DATE}" \ 
49                >${MASTERDIR}/Makefile.rev; \ 
50           ${ECHO_CMD} "SNAPREV= ${GIT_REV}" \ 
51                >>${MASTERDIR}/Makefile.rev ) 
52  
53         ${RM} -rf ${GIT_WORK} 
54  
55 .include "Makefile.rev" 
56 .include <bsd.port.mk>                                         

Reply via email to