Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 21:23:49 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362375 - head/audio/linux-f10-alsa-plugins-oss
Message-ID:  <201407202123.s6KLNngl083500@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Jul 20 21:23:49 2014
New Revision: 362375
URL: http://svnweb.freebsd.org/changeset/ports/362375
QAT: https://qat.redports.org/buildarchive/r362375/

Log:
  - Stage support
  - Use @sample keyword
  - Transfer maintainership to emulation@

Modified:
  head/audio/linux-f10-alsa-plugins-oss/Makefile
  head/audio/linux-f10-alsa-plugins-oss/pkg-plist

Modified: head/audio/linux-f10-alsa-plugins-oss/Makefile
==============================================================================
--- head/audio/linux-f10-alsa-plugins-oss/Makefile	Sun Jul 20 21:19:04 2014	(r362374)
+++ head/audio/linux-f10-alsa-plugins-oss/Makefile	Sun Jul 20 21:23:49 2014	(r362375)
@@ -8,12 +8,11 @@ CATEGORIES=	audio linux
 PKGNAMEPREFIX=	linux-f10-
 DISTNAME=	${PORTNAME}-${PORTVERSION}-${RPMVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	emulation@FreeBSD.org
 COMMENT=	OSS plugin for ALSA (Linux Fedora 10)
 
 ONLY_FOR_ARCHS=	i386 amd64
 USE_LINUX_RPM=	yes
-NO_STAGE=	yes
 USE_LINUX_APPS=	alsalib
 LINUX_DIST_VER=	10
 RPMVERSION=	3.fc10
@@ -27,9 +26,6 @@ post-patch:
 	@${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
+	${MV} ${STAGEDIR}${PREFIX}/${CONF_FILE}-dist ${STAGEDIR}${PREFIX}/${CONF_FILE}.sample
 
 .include <bsd.port.mk>

Modified: head/audio/linux-f10-alsa-plugins-oss/pkg-plist
==============================================================================
--- head/audio/linux-f10-alsa-plugins-oss/pkg-plist	Sun Jul 20 21:19:04 2014	(r362374)
+++ head/audio/linux-f10-alsa-plugins-oss/pkg-plist	Sun Jul 20 21:23:49 2014	(r362375)
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/alsa/pcm/pcm-oss.conf-dist %D/etc/alsa/pcm/pcm-oss.conf; then rm -f %D/etc/alsa/pcm/pcm-oss.conf; fi
-etc/alsa/pcm/pcm-oss.conf-dist
-@exec if [ ! -f %D/etc/alsa/pcm/pcm-oss.conf ] ; then cp -p %D/%F %B/pcm-oss.conf; fi
+@sample etc/alsa/pcm/pcm-oss.conf.sample
 usr/lib/alsa-lib/libasound_module_ctl_oss.so
 usr/lib/alsa-lib/libasound_module_pcm_oss.so
 usr/share/doc/alsa-plugins-oss-1.0.21/COPYING



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407202123.s6KLNngl083500>