svn commit: r308098 - head/audio/linux-f10-alsa-lib
Boris Samorodov
bsam at FreeBSD.org
Sun Dec 2 11:28:41 UTC 2012
Author: bsam
Date: Sun Dec 2 11:28:40 2012
New Revision: 308098
URL: http://svnweb.freebsd.org/changeset/ports/308098
Log:
. create a link from native asound configuration file at LINUXBASE/etc; [1]
. bump PORTREVISION;
. trim headers to two line style;
. remove the article from COMMENT.
PR: ports/169896 [1]
Submitted by: Jan Beich <jbeich at tormail.org> [1]
Feature safe: yes
Modified:
head/audio/linux-f10-alsa-lib/Makefile
Modified: head/audio/linux-f10-alsa-lib/Makefile
==============================================================================
--- head/audio/linux-f10-alsa-lib/Makefile Sun Dec 2 10:58:49 2012 (r308097)
+++ head/audio/linux-f10-alsa-lib/Makefile Sun Dec 2 11:28:40 2012 (r308098)
@@ -1,20 +1,16 @@
-# New ports collection makefile for: audio/linux-f10-alsa-lib
-# Date created: 2009-05-03
-# Whom: bsam
-#
# $FreeBSD$
-#
+# Created by: Boris Samorodov <bsam at FreeBSD.org>
PORTNAME= alsa-lib
PORTVERSION= 1.0.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio linux
MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
PKGNAMEPREFIX= linux-f10-
DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
MAINTAINER= emulation at FreeBSD.org
-COMMENT= The Advanced Linux Sound Architecture libraries (Linux Fedora 10)
+COMMENT= Advanced Linux Sound Architecture libraries (Linux Fedora 10)
CONFLICTS= linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]*
@@ -25,4 +21,11 @@ RPMVERSION= 2.fc10
BRANDELF_FILES= usr/bin/aserver
USE_LDCONFIG= yes
+# We will use some other configuration file, so delete a linux one
+post-extract:
+ @${RM} -r ${WRKSRC}/etc
+
+post-install:
+ @${LN} -s ${LOCALBASE}/etc/asound.conf ${PREFIX}/etc/asound.conf
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list