aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-10-31 21:17:23 +0800
committerahze <ahze@FreeBSD.org>2006-10-31 21:17:23 +0800
commit744eaccfda791b17ee2a192f4dc62d3726e4e624 (patch)
tree4344d6a9b0bdb87eccab6534873e105d883dd726 /misc
parent67da0bfd302f6ec9a1f34c28b1b801303d30f62d (diff)
downloadfreebsd-ports-gnome-744eaccfda791b17ee2a192f4dc62d3726e4e624.tar.gz
freebsd-ports-gnome-744eaccfda791b17ee2a192f4dc62d3726e4e624.tar.zst
freebsd-ports-gnome-744eaccfda791b17ee2a192f4dc62d3726e4e624.zip
- Update to 20061026
Diffstat (limited to 'misc')
-rw-r--r--misc/pciids/Makefile14
-rw-r--r--misc/pciids/distinfo6
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