summaryrefslogtreecommitdiff
path: root/graphics/dri-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dri-devel/Makefile')
-rw-r--r--graphics/dri-devel/Makefile36
1 files changed, 14 insertions, 22 deletions
diff --git a/graphics/dri-devel/Makefile b/graphics/dri-devel/Makefile
index 7c62c31795ce..0ee67b64098b 100644
--- a/graphics/dri-devel/Makefile
+++ b/graphics/dri-devel/Makefile
@@ -6,36 +6,31 @@
#
PORTNAME= dri
-PORTVERSION= 5.1
-PORTREVISION= 1
+PORTVERSION= 6.1.p20040507
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= anholt/dri-devel
-DISTFILES= ${PORTNAME}-20031209.tar.bz2 \
- Mesa-newtree-5.1.tar.bz2
+DISTFILES= dri-20040507.tar.bz2 \
+ Mesa-20040507.tar.bz2 \
+ drm-20040507.tar.bz2
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= anholt@FreeBSD.org
COMMENT= OpenGL hardware acceleration drivers snapshot for XFree86
WRKSRC= ${WRKDIR}/xc
BUILD_WRKSRC= ${WRKSRC}/lib/GL
+INSTALL_WRKSRC= ${WRKSRC}/lib/GL/mesa/drivers/dri
USE_BZIP2= yes
USE_X_PREFIX= yes
MAKE_ENV= FBSDCFLAGS="${CFLAGS}" FBSDCC="${CC}" FBSDCXX="${CXX}"
LATEST_LINK= ${PORTNAME}-devel
-DRILIST= ffb gamma i810 i830 mga r128 r200 radeon sis tdfx
-
ONLY_FOR_ARCHS= alpha i386
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN= "Install fails on alpha"
-.endif
-
do-configure:
+ @${RM} -f ${WRKSRC}/config/cf/projectroot.def
+ @${ECHO} "#define ProjectRoot ${X11BASE}" > ${WRKSRC}/config/cf/projectroot.def
@${RM} -f ${WRKSRC}/config/cf/version.def
@${RM} -f ${WRKSRC}/config/cf/date.def
@${TOUCH} ${WRKSRC}/config/cf/version.def
@@ -49,14 +44,11 @@ pre-build:
cd ${WRKSRC}/config && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
-do-install:
-.for i in ${DRILIST}
- ${INSTALL_DATA} ${WRKSRC}/lib/GL/mesa/drivers/dri/${i}/${i}_dri.so \
- ${PREFIX}/lib/modules/dri
-.endfor
-
-# Create package list:
- @cd ${PREFIX} && ${FIND} lib/modules/dri -type f | ${SORT} \
- >>${TMPPLIST}
+.include <bsd.port.pre.mk>
+.if ${ARCH} == i386
+PLIST_SUB+= I386=""
+.else
+PLIST_SUB+= I386="@comment "
+.endif
.include <bsd.port.post.mk>