aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-02-16 13:15:48 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-02-16 13:15:48 +0000
commit192dee2278e7b150ba44a7fa8374b38774f1939b (patch)
tree5fd82f0f7dfe0ff65b9d0c7080eb3a6f1d3687a2 /graphics
parentf786afd459e9cd8654367464a9079f1ec0f7ec5b (diff)
downloadports-192dee2278e7b150ba44a7fa8374b38774f1939b.tar.gz
ports-192dee2278e7b150ba44a7fa8374b38774f1939b.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dri-devel/Makefile14
-rw-r--r--graphics/dri-devel/pkg-plist10
2 files changed, 7 insertions, 17 deletions
diff --git a/graphics/dri-devel/Makefile b/graphics/dri-devel/Makefile
index 866b3bbdcd1e..253cab9f7e51 100644
--- a/graphics/dri-devel/Makefile
+++ b/graphics/dri-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dri
PORTVERSION= 5.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -23,15 +24,10 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
MAKE_ENV= FBSDCFLAGS="${CFLAGS}" FBSDCC="${CC}" FBSDCXX="${CXX}"
-DRILIST= gamma/gamma_dri.so i810/i810_dri.so i830/i830_dri.so \
- mga/mga_dri.so r128/r128_dri.so r200/r200_dri.so \
- radeon/radeon_dri.so sis/sis_dri.so tdfx/tdfx_dri.so
+DRILIST= ffb gamma i810 i830 mga r128 r200 radeon sis tdfx
ONLY_FOR_ARCHS= alpha i386
-BROKEN= "Broken pkg-plist"
-DEPRECATED= "Will be removed after April 7 if still broken"
-
do-configure:
@${RM} -f ${WRKSRC}/config/cf/version.def
@${RM} -f ${WRKSRC}/config/cf/date.def
@@ -48,8 +44,12 @@ pre-build:
do-install:
.for i in ${DRILIST}
- ${INSTALL_DATA} ${WRKSRC}/lib/GL/mesa/drivers/dri/${i} \
+ ${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.mk>
diff --git a/graphics/dri-devel/pkg-plist b/graphics/dri-devel/pkg-plist
deleted file mode 100644
index 6a37410a2e58..000000000000
--- a/graphics/dri-devel/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-lib/modules/dri/fb_dri.so
-lib/modules/dri/gamma_dri.so
-lib/modules/dri/i810_dri.so
-lib/modules/dri/i830_dri.so
-lib/modules/dri/mga_dri.so
-lib/modules/dri/r128_dri.so
-lib/modules/dri/r200_dri.so
-lib/modules/dri/radeon_dri.so
-lib/modules/dri/sis_dri.so
-lib/modules/dri/tdfx_dri.so