aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pciids/Makefile
blob: 4edf284a36f918ab195d45711013286c51774c3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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=    20090224
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
PLIST_DIRS= %%DATADIR%%

do-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/pci.ids ${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

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>
61-3/+1 | * - Add missing USES=libtoolamdmi32014-06-111-0/+1 | | | | Approved by: portmgr blanket * - Fix plist (@dirrmtry include/sys which is shared)amdmi32014-03-011-1/+1 | | | | | | PR: 187153 Submitted by: amdmi3 Approved by: Aragon Gouveia <aragon@phat.za.net> (maintainer) * - update to 1.0.27.2 [1]flo2013-10-041-0/+32 | | | | | | | | | | | | | | | | | | | -- add PYTHON option to alsa-lib -- drop unresponsive mirrors and those that rarely catch up -- drop --disable-aload from alsa-lib, builds fine without -- drop USE_LDCONFIG from alsa-plugins, useless for dlopen'd plugins -- convert to new LIB_DEPENDS syntax and Makefile header -- convert PLIST_SUB to OPTIONS_SUB -- don't link alsa-utils against librt for clock_gettime(2) -- pass paths to configure relative to --prefix value -- install udev config(s) under PREFIX (for reference) -- cleanup /var/lib as it's not in default MTREE_FILE -- remove OSVERSION check for EOL releases - allow staging PR: ports/182245 [1] Submitted by: Jan Beich <jbeich@tormail.org> [1] Approved by: maintainer timeout * - update to 1.0.26 [1]flo2012-10-051-0/+1 | | | | | | | | | | | | | | | | | | - use newly added alphasort() instead of LGPLv2.1+ patch - fix async handler [2] - fix implicit declarations of calloc/free [3] - disable ARIFF_OSS option by default, except 7.x [4] - add 3 more mirrors from alsa wiki + gentoo as a backup - move alsa mirrors to bsd.sites.mk Changes: http://www.alsa-project.org/main/index.php/Changes_v1.0.25_v1.0.26 PR: ports/171601 [1] PR: ports/169770 [2] PR: ports/170457 [3] PR: ports/170473 [4] Obtained from: PkgSrc [2] Submitted by: Jan Beich <jbeich@tormail.org> Approved by: maintainer * - Update to 1.0.25sunpoet2012-07-201-0/+6 | | | | | | | | | | | | | | - Convert to new options framework - alsa-plugins: - Add option: ARIFF_OSS for FreeBSD-specific patch - Revert ports/165247 per regression in ports/169767 - Unbreak arcam-av and usb_stream plugins - While I'm here, pet portlint by removing ABI version number from LIB_DEPENDS Changes: http://www.alsa-project.org/main/index.php/Changes_v1.0.24_v1.0.25 http://www.alsa-project.org/main/index.php/Changes_v1.0.23_v1.0.24 PR: ports/169841 Submitted by: Jan Beich <jbeich@tormail.org> (maintainer)