1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- Use @sample keyword
- Transfer maintainership to emulation@
This commit is contained in:
Rene Ladan 2014-07-20 21:23:49 +00:00
parent 3f8883b820
commit f4a3def9a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362375
2 changed files with 3 additions and 9 deletions

View File

@ -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>

View File

@ -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