summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-12 20:21:42 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-12 20:21:42 +0800
commit5f952bce1492afed7f22caa87dedd07979a14646 (patch)
treec801abc54132355bcac8e1d3c7d46a396f3f609d /misc
parent4b48fe10a17c6b5af754ccb105908d4f28ecc1da (diff)
downloadmarcuscom-ports-5f952bce1492afed7f22caa87dedd07979a14646.tar.gz
marcuscom-ports-5f952bce1492afed7f22caa87dedd07979a14646.tar.zst
marcuscom-ports-5f952bce1492afed7f22caa87dedd07979a14646.zip
Update to 20080312 snapshot
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10717 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r--misc/pciids/Makefile49
-rw-r--r--misc/pciids/distinfo3
-rw-r--r--misc/pciids/pkg-descr3
3 files changed, 55 insertions, 0 deletions
diff --git a/misc/pciids/Makefile b/misc/pciids/Makefile
new file mode 100644
index 000000000..5577958d5
--- /dev/null
+++ b/misc/pciids/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: pciids
+# Date created: 2006-08-07
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD: ports/misc/pciids/Makefile,v 1.13 2008/01/09 14:00:24 ahze Exp $
+# $MCom: ports/misc/pciids/Makefile,v 1.8 2006/10/26 16:14:10 ahze Exp $
+
+PORTNAME= pciids
+PORTVERSION= 20080312
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ahze
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Database of all known ID's used in PCI devices
+
+USE_BZIP2= yes
+NO_BUILD= yes
+PLIST_FILES= %%DATADIR%%/pci.ids \
+ %%DATADIR%%/pci.db
+PLIST_DIRS= %%DATADIR%%
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pci.ids ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pci.db ${DATADIR}
+
+.include <bsd.port.pre.mk>
+
+# Below only contains code to create a tar file for this beast
+CT_DATE!= date "+%Y%m%d"
+CT_WRKSRC= ${WRKDIR}/tmp
+CT_DESTDIR= ${PORTNAME}-${CT_DATE}
+CT_TEMPDIR= ${CT_WRKSRC}/${CT_DESTDIR}
+CT_MASTER_SITE= http://pciids.sourceforge.net/v2.2/
+CT_DISTFILES= pci.ids pci.db
+
+maketar: extract
+ ${MKDIR} ${CT_TEMPDIR}
+.for file in ${CT_DISTFILES}
+ (cd ${CT_TEMPDIR} && ${FETCH_CMD} ${CT_MASTER_SITE}/${file})
+.endfor
+ ${DIFF} -u ${WRKSRC}/pci.ids ${CT_TEMPDIR}/pci.ids || ${TRUE}
+ (cd ${CT_WRKSRC} && ${TAR} -jcf ${PORTNAME}-${CT_DATE}.tar.bz2 ${CT_DESTDIR})
+ ${SED} -i.bak -e 's|${PORTVERSION}|${CT_DATE}|' ${.CURDIR}/Makefile
+ @(cd ${.CURDIR} && ${CP} -f ${CT_WRKSRC}/${PORTNAME}-${CT_DATE}.tar.bz2 ${DISTDIR} && \
+ ${MAKE} makesum)
+
+.include <bsd.port.post.mk>
diff --git a/misc/pciids/distinfo b/misc/pciids/distinfo
new file mode 100644
index 000000000..d142c5f69
--- /dev/null
+++ b/misc/pciids/distinfo
@@ -0,0 +1,3 @@
+MD5 (pciids-20080312.tar.bz2) = 404a4bde5b22a06d34b3bf3c4ffab560
+SHA256 (pciids-20080312.tar.bz2) = 9d50cdd2564802f7b7a414c954055af029101d1672d88e06bfe1f13c4e2e966e
+SIZE (pciids-20080312.tar.bz2) = 263363
diff --git a/misc/pciids/pkg-descr b/misc/pciids/pkg-descr
new file mode 100644
index 000000000..ff3290334
--- /dev/null
+++ b/misc/pciids/pkg-descr
@@ -0,0 +1,3 @@
+Database of all known ID's used in PCI devices
+
+WWW: http://pciids.sourceforge.net/