mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Convert to @sample, strip binaries
This commit is contained in:
parent
69947e4a87
commit
5c79486dcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359363
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user