diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-27 00:14:10 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-27 00:14:10 +0800 |
commit | 1fe208009d03117b6dd2dbb5b25d6a0333908e9d (patch) | |
tree | 0b35cf92676240048e864b1627edabe9d53faca5 /misc | |
parent | 392d93048a56fdbc9a159abc4df3d3d0472922a5 (diff) | |
download | marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar.gz marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar.bz2 marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar.lz marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar.xz marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.tar.zst marcuscom-ports-1fe208009d03117b6dd2dbb5b25d6a0333908e9d.zip |
- Update to 20061026
- Add code to run diff -u on pci.ids to see if we really
want to create a tar and update PORTVERSION auto.
(this won't effect anyone except ones who update pciids)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7842 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pciids/Makefile | 14 | ||||
-rw-r--r-- | misc/pciids/distinfo | 6 |
2 files changed, 13 insertions, 7 deletions
diff --git a/misc/pciids/Makefile b/misc/pciids/Makefile index cc755761c..14dcc2f6e 100644 --- a/misc/pciids/Makefile +++ b/misc/pciids/Makefile @@ -3,10 +3,10 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/misc/pciids/Makefile,v 1.5 2006/09/29 20:57:46 ahze Exp $ +# $MCom: ports/misc/pciids/Makefile,v 1.7 2006/10/24 22:40:33 ahze Exp $ PORTNAME= pciids -PORTVERSION= 20061024 +PORTVERSION= 20061026 CATEGORIES= misc MASTER_SITES= http://www.ahze.net/~ahze/distfiles/ \ ${MASTER_SITE_LOCAL} @@ -26,6 +26,8 @@ do-install: ${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 @@ -34,11 +36,15 @@ CT_TEMPDIR= ${CT_WRKSRC}/${CT_DESTDIR} CT_MASTER_SITE= http://pciids.sourceforge.net/v2.2/ CT_DISTFILES= pci.ids pci.db -maketar: +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.mk> +.include <bsd.port.post.mk> diff --git a/misc/pciids/distinfo b/misc/pciids/distinfo index 1875348b8..7c11954dc 100644 --- a/misc/pciids/distinfo +++ b/misc/pciids/distinfo @@ -1,3 +1,3 @@ -MD5 (pciids-20061024.tar.bz2) = 152668596e0c439106efa485d34fd092 -SHA256 (pciids-20061024.tar.bz2) = b3af729ea41172abe590e42eda5eac9b192fd4fa21b2c47c0866f8861a02e55b -SIZE (pciids-20061024.tar.bz2) = 210340 +MD5 (pciids-20061026.tar.bz2) = fd46c735775bbc94390f45b7f7da8ec0 +SHA256 (pciids-20061026.tar.bz2) = fdaa9b550db15d9cf4b5efa0fecd533c8a20ddaca07d4e0634dd9601fc18a207 +SIZE (pciids-20061026.tar.bz2) = 209744 |