aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linux-f10-alsa-plugins-oss
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-07-21 05:23:49 +0800
committerrene <rene@FreeBSD.org>2014-07-21 05:23:49 +0800
commitec96276f85da82b1040f6626923cba3ec2e699c7 (patch)
tree33e4c80d87ebab7f637543fcc1b36f89d239864f /audio/linux-f10-alsa-plugins-oss
parent805d384444dc65a62469c4aa35d7a7e55f307caf (diff)
downloadfreebsd-ports-gnome-ec96276f85da82b1040f6626923cba3ec2e699c7.tar.gz
freebsd-ports-gnome-ec96276f85da82b1040f6626923cba3ec2e699c7.tar.zst
freebsd-ports-gnome-ec96276f85da82b1040f6626923cba3ec2e699c7.zip
- Stage support
- Use @sample keyword - Transfer maintainership to emulation@
Diffstat (limited to 'audio/linux-f10-alsa-plugins-oss')
-rw-r--r--audio/linux-f10-alsa-plugins-oss/Makefile8
-rw-r--r--audio/linux-f10-alsa-plugins-oss/pkg-plist4
2 files changed, 3 insertions, 9 deletions
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 <bsd.port.mk>
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