aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linux-f8-arts/Makefile
blob: 51d4245ab17169e9043fa03548605cde0edb6ece (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
# New ports collection makefile for:    linux-arts
# Date created:             6 October 2003
# Whom:                 bms@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=       arts
PORTVERSION=        1.0.3
PORTREVISION=       1
CATEGORIES=     audio kde linux
MASTER_SITES=       ${MASTER_SITE_REDHAT_LINUX}
MASTER_SITE_SUBDIR= 8.0/en/os/${MACHINE_ARCH}/RedHat/RPMS
PKGNAMEPREFIX=      linux-
DISTNAME=       ${PORTNAME}-${PORTVERSION:S/.1$/-1/}-1.${MACHINE_ARCH}
EXTRACT_SUFX=       .rpm
EXTRACT_ONLY=

MAINTAINER=     bms@FreeBSD.org
COMMENT=        Audio system for the KDE integrated X11 desktop

BUILD_DEPENDS=      rpm:${PORTSDIR}/archivers/rpm

PREFIX?=        ${LINUXBASE}
NO_MTREE=       yes
LDCONFIG_LINUX=     ${LINUXBASE}/sbin/ldconfig

ONLY_FOR_ARCHS=     i386
DIST_SUBDIR=        rpm
NO_BUILD=       yes
NO_FILTER_SHLIBS=   yes
PLIST=          ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE=       ${MASTERDIR}/distinfo.${MACHINE_ARCH}

DBPATH=         /var/lib/rpm
RPMFLAGS=       --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
            --nodeps --replacepkgs
RPMDIR=         ${DISTDIR}/${DIST_SUBDIR}

do-install:
    @${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
    @${LDCONFIG_LINUX}

.include <bsd.port.mk>