diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-26 22:38:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-26 22:38:04 +0800 |
commit | df11ec79e0504bee91b5c3fe4210eb8786478bc8 (patch) | |
tree | d830d226b8a343a1966438923a06c07181ecb889 | |
parent | aace04a2d4c3e40568e31ba0922e2cb0f6226848 (diff) | |
download | freebsd-ports-gnome-df11ec79e0504bee91b5c3fe4210eb8786478bc8.tar.gz freebsd-ports-gnome-df11ec79e0504bee91b5c3fe4210eb8786478bc8.tar.zst freebsd-ports-gnome-df11ec79e0504bee91b5c3fe4210eb8786478bc8.zip |
Convert to @sample, strip binaries
-rw-r--r-- | audio/alsa-lib/Makefile | 5 | ||||
-rw-r--r-- | audio/alsa-lib/pkg-plist | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index 4837ba6d4486..e4e1ac8fd26b 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -15,6 +15,7 @@ USES= tar:bzip2 libtool:keepla USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfdir="\$${prefix}/libdata/pkgconfig" +INSTALL_TARGET= install-strip OPTIONS_DEFINE= PYTHON OPTIONS_SUB= ${OPTIONS_DEFINE} @@ -39,9 +40,5 @@ post-patch: .SILENT post-install: ${INSTALL_DATA} ${FILESDIR}/asound.conf.sample ${STAGEDIR}${PREFIX}/etc - @if [ ! -f ${PREFIX}/etc/asound.conf ]; then \ - ${CP} -p ${STAGEDIR}${PREFIX}/etc/asound.conf.sample \ - ${STAGEDIR}${PREFIX}/etc/asound.conf ; \ - fi .include <bsd.port.mk> diff --git a/audio/alsa-lib/pkg-plist b/audio/alsa-lib/pkg-plist index bcff2858c8b2..d612ead86aba 100644 --- a/audio/alsa-lib/pkg-plist +++ b/audio/alsa-lib/pkg-plist @@ -152,9 +152,7 @@ share/alsa/ucm/SDP4430/record share/alsa/ucm/SDP4430/voice share/alsa/ucm/SDP4430/voiceCall share/alsa/ucm/tegraalc5632/tegraalc5632.conf -@unexec if cmp -s %D/etc/asound.conf.sample %D/etc/asound.conf; then rm -f %D/etc/asound.conf; else echo "If permanently deleting this package, %D/etc/asound.conf must be removed manually."; fi -etc/asound.conf.sample -@exec [ -f %B/asound.conf ] || cp -p %B/%f %B/asound.conf +@sample etc/asound.conf.sample @dirrm share/alsa/ucm/PandaBoardES @dirrm share/alsa/ucm/SDP4430 @dirrm share/alsa/ucm/DAISY-I2S |