mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Update to 1.0
PR: ports/63403 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
This commit is contained in:
parent
bf528c4c43
commit
a6cf5720c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102226
5 changed files with 21 additions and 28 deletions
|
@ -5,15 +5,10 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= squash
|
PORTNAME= squash
|
||||||
PORTVERSION= 1.0.p1
|
PORTVERSION= 1.0
|
||||||
PORTREVISION= 4
|
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||||
${MASTER_SITE_LOCAL:S/$/:local/}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME} \
|
|
||||||
pav/:local
|
|
||||||
DISTNAME= squash-1.0pre1
|
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT,local
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= Learning console-based MP3/OGG player
|
COMMENT= Learning console-based MP3/OGG player
|
||||||
|
@ -26,23 +21,24 @@ LIB_DEPENDS+= FLAC.5:${PORTSDIR}/audio/flac \
|
||||||
ao.3:${PORTSDIR}/audio/libao
|
ao.3:${PORTSDIR}/audio/libao
|
||||||
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
|
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
|
||||||
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|--std=gnu99|${CFLAGS} ${PTHREAD_CFLAGS}|; \
|
@${REINPLACE_CMD} -e "s|--std=gnu99|--std=gnu99 ${CFLAGS} ${PTHREAD_CFLAGS}|; \
|
||||||
s|-Iinclude|-Iinclude -I${LOCALBASE}/include|; \
|
s|-Iinclude|-Iinclude -I${LOCALBASE}/include|; \
|
||||||
s|-lpthread|${PTHREAD_LIBS}|; s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile
|
s|-lpthread|${PTHREAD_LIBS}|; s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile
|
||||||
@${REINPLACE_CMD} -e "s,/usr/bin/ruby,${RUBY}," \
|
@${REINPLACE_CMD} -e "s,/usr/bin/ruby,${RUBY}," \
|
||||||
${WRKSRC}/extra/*.rb
|
${WRKSRC}/extra/*.rb
|
||||||
@${REINPLACE_CMD} -e "s,/etc/squash.conf,${PREFIX}/etc/squash.conf," \
|
@${REINPLACE_CMD} -e "s,/etc/squash.conf,${PREFIX}/etc/squash.conf," \
|
||||||
${WRKSRC}/src/global.c
|
${WRKSRC}/src/global.c
|
||||||
@${SED} "s,%%DD%%,${DOCSDIR}," ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/bin
|
${MKDIR} ${PREFIX}/bin
|
||||||
|
@ -51,7 +47,7 @@ do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/extra/${FILE}.rb ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/extra/${FILE}.rb ${PREFIX}/bin
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/extra/musicdb_lib.rb ${RUBY_SITELIBDIR}
|
${INSTALL_DATA} ${WRKSRC}/extra/musicdb_lib.rb ${RUBY_SITELIBDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/extra/squash.conf ${PREFIX}/etc
|
${INSTALL_DATA} ${WRKSRC}/extra/squash.conf ${PREFIX}/etc/squash.conf.dist
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
.for i in README doc/FEATURES doc/LOCKS doc/INSTALL doc/USERS_GUIDE
|
.for i in README doc/FEATURES doc/LOCKS doc/INSTALL doc/USERS_GUIDE
|
||||||
|
@ -59,9 +55,6 @@ do-install:
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.if ${OSVERSION} < 501100
|
.if ${OSVERSION} < 501100
|
||||||
|
|
||||||
IGNORE= "ignored: FreeBSD before 5.1 lacks the wordexp interface"
|
IGNORE= "ignored: FreeBSD before 5.1 lacks the wordexp interface"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
$FreeBSD$
|
MD5 (squash-1.0.tar.bz2) = 8db5cb7686a1b80ffc1b49421fd15b6f
|
||||||
MD5 (squash-1.0pre1.tar.bz2) = 017b935067e6f01058af76ad595ccae1
|
SIZE (squash-1.0.tar.bz2) = 84366
|
||||||
|
|
10
audio/squash/files/patch-FIXLOCK-src_global_squash.c
Normal file
10
audio/squash/files/patch-FIXLOCK-src_global_squash.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- ./src/global_squash.c~ Fri Dec 5 21:23:51 2003
|
||||||
|
+++ ./src/global_squash.c Thu Feb 26 18:57:02 2004
|
||||||
|
@@ -143,7 +143,6 @@
|
||||||
|
playlist_queue_song( song, state_info.raw_songs[state_info.current_song].position );
|
||||||
|
}
|
||||||
|
state_info.current_song++;
|
||||||
|
- squash_unlock(state_info.lock);
|
||||||
|
squash_wunlock(database_info.lock);
|
||||||
|
squash_unlock(song_queue.lock);
|
||||||
|
squash_unlock(state_info.lock);
|
|
@ -1,4 +0,0 @@
|
||||||
---------------------------------------------------------------------------
|
|
||||||
NOTE: You MUST configure squash and run a script before you can use squash.
|
|
||||||
Please see %%DD%%/INSTALL for details.
|
|
||||||
---------------------------------------------------------------------------
|
|
|
@ -5,11 +5,5 @@ bin/import_music.rb
|
||||||
bin/joystick.rb
|
bin/joystick.rb
|
||||||
bin/squash
|
bin/squash
|
||||||
bin/uncollect_info.rb
|
bin/uncollect_info.rb
|
||||||
etc/squash.conf
|
etc/squash.conf.dist
|
||||||
%%RUBY_SITELIBDIR%%/musicdb_lib.rb
|
%%RUBY_SITELIBDIR%%/musicdb_lib.rb
|
||||||
%%DOCSDIR%%/FEATURES
|
|
||||||
%%DOCSDIR%%/INSTALL
|
|
||||||
%%DOCSDIR%%/LOCKS
|
|
||||||
%%DOCSDIR%%/README
|
|
||||||
%%DOCSDIR%%/USERS_GUIDE
|
|
||||||
@dirrm %%DOCSDIR%%
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue