blob: 14cb9a7fa792450018f3d64de88669c036b4d601 (
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
|
# New ports collection makefile for: audio/linux-f10-alsa-plugins-oss
# Date created: 2010-06-06
# Whom: hashiz
#
# $FreeBSD$
#
PORTNAME= alsa-plugins-oss
PORTVERSION= 1.0.21
PORTREVISION= 2
CATEGORIES= audio linux
PKGNAMEPREFIX= linux-f10-
DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
MAINTAINER= hashiz@meridiani.jp
COMMENT= OSS plugin for ALSA (Linux Fedora 10)
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM= yes
USE_LINUX_APPS= alsalib
LINUX_DIST_VER= 10
RPMVERSION= 3.fc10
SRC_DISTFILES= ${PORTNAME:S/-oss//}-${PORTVERSION}-${RPMVERSION}${SRC_SUFX}
USE_LDCONFIG= yes
CONF_FILE= etc/alsa/pcm/pcm-oss.conf
post-patch:
@${RM} ${WRKSRC}/${CONF_FILE}.orig
@${MV} ${WRKSRC}/${CONF_FILE} ${WRKSRC}/${CONF_FILE}-dist
post-install:
@if [ ! -f ${PREFIX}/${CONF_FILE} ]; then \
${CP} -p ${PREFIX}/${CONF_FILE}-dist ${PREFIX}/${CONF_FILE} ; \
fi
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
|