diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-10-31 13:17:23 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-10-31 13:17:23 +0000 |
commit | e4a79445645a2ee5d34cc467b9e38d117f334b06 (patch) | |
tree | 152b559821953c034ecdf02d875ced92418d9053 /misc/pciids | |
parent | b108c211e847d845cac58a44dedbec8afed75897 (diff) | |
download | ports-e4a79445645a2ee5d34cc467b9e38d117f334b06.tar.gz ports-e4a79445645a2ee5d34cc467b9e38d117f334b06.zip |
Notes
Diffstat (limited to 'misc/pciids')
-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 4760196b49d5..4ffadff6ca5f 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.8 2006/10/26 16:14:10 ahze Exp $ PORTNAME= pciids -PORTVERSION= 20060929 +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 c05e2cd9e83f..7c11954dc5e1 100644 --- a/misc/pciids/distinfo +++ b/misc/pciids/distinfo @@ -1,3 +1,3 @@ -MD5 (pciids-20060929.tar.bz2) = f609436fe75b4e506542a7922f3207b2 -SHA256 (pciids-20060929.tar.bz2) = f8b23bdf4aec04764e5d60a3c72730b2fe120adef9b0a0bdf9bf6ac5f5f71a17 -SIZE (pciids-20060929.tar.bz2) = 206736 +MD5 (pciids-20061026.tar.bz2) = fd46c735775bbc94390f45b7f7da8ec0 +SHA256 (pciids-20061026.tar.bz2) = fdaa9b550db15d9cf4b5efa0fecd533c8a20ddaca07d4e0634dd9601fc18a207 +SIZE (pciids-20061026.tar.bz2) = 209744 |