freebsd-ports/misc/pciids/Makefile
Joe Marcus Clarke 6f32add9a7 The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for
FreeBSD.  The official GNOME 2.22 release notes can be found at
http://library.gnome.org/misc/release-notes/2.22/ .  On the FreeBSD front,
this release features an updated hal port with support for video4linux
devices, DRM (Direct Rendering), and better support of removable media.  Work
is also underway to tie webkit more closely into GNOME.  As part of the
GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well.
Be sure to consult UPDATING on the proper steps to upgrade all of your
GNOME ports.

This release would not have been possible without the contributions and
testing efforts of the following people:

Pawel Worach
kan
edwin
Peter Ulrich Kruppa
J. W. Ballantine
Yasuda Keisuke
Andriy Gapon
2008-03-24 03:52:36 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: pciids
# Date created: 2006-08-07
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/misc/pciids/Makefile,v 1.11 2008/03/23 06:57:57 marcus 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>