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

PORTNAME=       arts
PORTVERSION=        1.0.3
PORTREVISION=       3
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

USE_LINUX=      yes
USE_LINUX_PREFIX=   yes
LDCONFIG_LINUX=     ${LINUXBASE}/sbin/ldconfig

ONLY_FOR_ARCHS=     i386
DIST_SUBDIR=        rpm
NO_BUILD=       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>