diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-10 08:28:54 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-10 08:28:54 +0800 |
commit | 3f0935d0188e114b027c2e370acd2d00312d788f (patch) | |
tree | f4420c98ddd614fd2b648f7d617250929ca1415f /misc | |
parent | 6897410334e780305a6f28472d7e51f0ecfb594e (diff) | |
download | marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar.gz marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar.bz2 marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar.lz marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar.xz marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.tar.zst marcuscom-ports-3f0935d0188e114b027c2e370acd2d00312d788f.zip |
- Update to 20060809
- Install pci.db along with pci.ids
- Add target maketar: which creates a tarball of the most current version
of pci.ids & pci.db
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7019 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pciids/Makefile | 34 | ||||
-rw-r--r-- | misc/pciids/distinfo | 6 |
2 files changed, 27 insertions, 13 deletions
diff --git a/misc/pciids/Makefile b/misc/pciids/Makefile index 344fcb393..38d211774 100644 --- a/misc/pciids/Makefile +++ b/misc/pciids/Makefile @@ -3,28 +3,42 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/misc/pciids/Makefile,v 1.1 2006/08/08 01:56:30 ahze Exp $ PORTNAME= pciids -PORTVERSION= 20060807 +PORTVERSION= 20060809 CATEGORIES= misc -MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://people.freebsd.org/~ahze/distfiles/ MASTER_SITE_SUBDIR= ahze -DISTNAME= pci.ids-${PORTVERSION} -EXTRACT_SUFX= .bz2 MAINTAINER= gnome@FreeBSD.org COMMENT= Pci.ids database from pciutils -EXTRACT_CMD= ${BZIP2_CMD} -EXTRACT_AFTER_ARGS= -d -s > ${WRKDIR}/pci.ids +USE_BZIP2= yes NO_BUILD= yes - -PLIST_FILES= %%DATADIR%%/pci.ids +PLIST_FILES= %%DATADIR%%/pci.ids \ + %%DATADIR%%/pci.db PLIST_DIRS= %%DATADIR%% do-install: ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/pci.ids ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/pci.ids ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/pci.db ${DATADIR} + +# 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: + ${MKDIR} ${CT_TEMPDIR} +.for file in ${CT_DISTFILES} + (cd ${CT_TEMPDIR} && ${FETCH_CMD} ${CT_MASTER_SITE}/${file}) +.endfor + (cd ${CT_WRKSRC} && ${TAR} -jcf ${PORTNAME}-${CT_DATE}.tar.bz2 ${CT_DESTDIR}) .include <bsd.port.mk> diff --git a/misc/pciids/distinfo b/misc/pciids/distinfo index c67175fa8..b3768ba68 100644 --- a/misc/pciids/distinfo +++ b/misc/pciids/distinfo @@ -1,3 +1,3 @@ -MD5 (pci.ids-20060807.bz2) = be62ff97fc3bc33c1780672fc1ed7645 -SHA256 (pci.ids-20060807.bz2) = ace3e81d903aab2b38d90d0ac4454f30c47e0cd7cf72e17f2efd5e3ed6806899 -SIZE (pci.ids-20060807.bz2) = 110523 +MD5 (pciids-20060809.tar.bz2) = 455abe91f4b062dfe17273ae4c8113ee +SHA256 (pciids-20060809.tar.bz2) = 8f8805c45c8b969fdcc97ca7ff59a05012559a04d02c5a99e29f0d9b415270b2 +SIZE (pciids-20060809.tar.bz2) = 203221 |