diff --git a/audio/linux-f10-alsa-plugins-oss/Makefile b/audio/linux-f10-alsa-plugins-oss/Makefile index 9febd597804e..071d484c7c2e 100644 --- a/audio/linux-f10-alsa-plugins-oss/Makefile +++ b/audio/linux-f10-alsa-plugins-oss/Makefile @@ -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 diff --git a/audio/linux-f10-alsa-plugins-oss/pkg-plist b/audio/linux-f10-alsa-plugins-oss/pkg-plist index d8cbdfef0f69..e5f2fecc9e95 100644 --- a/audio/linux-f10-alsa-plugins-oss/pkg-plist +++ b/audio/linux-f10-alsa-plugins-oss/pkg-plist @@ -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