- Respect the esd.conf and add est.conf.default. [1]
- Remove the patch-configure; it's no longer need. - Make the portlint a happy man. PR: ports/69175 [1] Reported by: Torfinn Ingolfsen <tingo@start.no> [1]
This commit is contained in:
parent
34f012a1b1
commit
21139d4598
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116463
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= esound
|
||||
PORTVERSION= 0.2.35
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2
|
||||
@ -17,15 +18,28 @@ COMMENT= A sound library for enlightenment package
|
||||
|
||||
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
||||
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_BZIP2= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_GNOME= gnometarget gnomehack
|
||||
USE_REINPLACE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LIBTOOL_VER=15
|
||||
USE_GETOPT_LONG=yes
|
||||
|
||||
CONFLICTS= py*-ro-*
|
||||
CONFLICTS= py*-ro-[0-9]*
|
||||
|
||||
MAN1= esd-config.1 esd.1 esdcat.1 esdctl.1 esddsp.1 esdfilt.1 esdloop.1 \
|
||||
esdmon.1 esdplay.1 esdrec.1 esdsample.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|esdconf_DATA = esd.conf|esdconf_DATA = |g' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
if [ ! -f ${PREFIX}/etc/esd.conf ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf; \
|
||||
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf.default; \
|
||||
else \
|
||||
${INSTALL_DATA} ${WRKSRC}/esd.conf ${PREFIX}/etc/esd.conf.default; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure 2002/05/07 06:39:43 1.1
|
||||
+++ configure 2002/05/07 06:39:55
|
||||
@@ -5308,6 +5308,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
@ -9,7 +9,9 @@ bin/esdmon
|
||||
bin/esdplay
|
||||
bin/esdrec
|
||||
bin/esdsample
|
||||
etc/esd.conf
|
||||
@unexec if cmp -s %D/etc/esd.conf %D/etc/esd.conf.default; then rm -f %D/etc/esd.conf; fi
|
||||
etc/esd.conf.default
|
||||
@exec [ -f %B/esd.conf ] || cp %B/%f %B/esd.conf
|
||||
include/esd.h
|
||||
lib/libesd.a
|
||||
lib/libesd.so
|
||||
|
Loading…
Reference in New Issue
Block a user