aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linux-nas-libs/Makefile
blob: d1be99edb26ee468f80b5a92392b4c74e95ac424 (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
# New ports collection makefile for:    audio/linux-nas-libs
# Date created:             2009-09-01
# Whom:                 bsam
#
# $FreeBSD$
#

PORTNAME=   nas
PORTVERSION=    1.8
CATEGORIES= audio linux
MASTER_SITE_SUBDIR= ../extras/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/ \
        ../extras/${LINUX_DIST_VER}/SRPMS/
PKGNAMEPREFIX=  linux-
PKGNAMESUFFIX=  -libs
DISTNAME=   ${PORTNAME}-${PORTVERSION}-${RPMVERSION}

MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT=    Runtime libraries for NAS (Linux Fedora Core 4)

USE_LINUX_RPM=  yes
USE_LINUX_APPS= xorglibs
LINUX_DIST_VER= 4
RPMVERSION= 10.fc4
USE_LDCONFIG=   yes

PLIST_FILES=    usr/lib/libaudio.so.2 usr/lib/libaudio.so.2.4
DOCSDIR=    ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS=   BUGS FAQ HISTORY README TODO
DESCR=      ${.CURDIR}/../${PORTNAME}/pkg-descr

REMOVE_DIRS=    etc usr/X11R6 usr/bin usr/share/man

# we need libraries only (Fedora 10 already has a separate RPM file
# for libraries)
pre-install:
    @for D in ${REMOVE_DIRS}; do \
        ${RM} -rf ${WRKSRC}/$$D; \
    done

.include <bsd.port.mk>