svn commit: r423475 - head/audio/gbsplay
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Oct 7 18:15:58 UTC 2016
Author: ehaupt
Date: Fri Oct 7 18:15:56 2016
New Revision: 423475
URL: https://svnweb.freebsd.org/changeset/ports/423475
Log:
- While the main CLI player of gbsplay is receiving updates and is actively
maintained the XMMS plugin doesn't work past this version. Rather than
removing the still working XMMS plugin in this version, decouple the slave
port from master port and leave it at this version. This allows for the CLI
player to be updated independently.
- Add NLS option
- Add LICENSE
- Update to 0.0.93
- Update WWW
- Relocate to github
Modified:
head/audio/gbsplay/Makefile
head/audio/gbsplay/distinfo
head/audio/gbsplay/pkg-descr
head/audio/gbsplay/pkg-plist
Modified: head/audio/gbsplay/Makefile
==============================================================================
--- head/audio/gbsplay/Makefile Fri Oct 7 18:12:38 2016 (r423474)
+++ head/audio/gbsplay/Makefile Fri Oct 7 18:15:56 2016 (r423475)
@@ -2,42 +2,45 @@
# $FreeBSD$
PORTNAME= gbsplay
-PORTVERSION= 0.0.8
-PORTREVISION= 7
+PORTVERSION= 0.0.93
CATEGORIES= audio
-MASTER_SITES= LOCAL/ehaupt
-PKGNAMEPREFIX?=
MAINTAINER= ehaupt at FreeBSD.org
-COMMENT?= Emulates the sound hardware of the Nintendo Game Boy(TM)
+COMMENT= Emulates the sound hardware of the Nintendo Game Boy(TM)
+
+LICENSE= GPLv2
+
+USE_GITHUB= yes
+GH_ACCOUNT= mmitch
HAS_CONFIGURE= yes
-USES= gettext gmake
+USES= gmake compiler:gcc-c++11-lib
USE_CSTD= gnu89
CONFIGURE_ARGS+= --prefix=${PREFIX}
-.if ${PKGNAMEPREFIX} == ""
-
CONFIGURE_ARGS+= --without-xmmsplugin
MANPAGE1= gbsplay.1 gbsinfo.1
MANPAGE5= gbsplayrc.5
PORTDOCS= COPYRIGHT HISTORY README
-OPTIONS_DEFINE= NAS DOCS
-
-.endif
-
-.if ${PKGNAMEPREFIX} == ""
+OPTIONS_DEFINE= DOCS NAS NLS
+OPTIONS_SUB= yes
NAS_LIB_DEPENDS= libaudio.so:audio/nas
NAS_CONFIGURE_ENABLE= nas
-
-.endif
-
-post-patch: gbsplay-post-patch
- @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE}
+NLS_CONFIGURE_OFF= --disable-i18n
+NLS_USES= gettext
+NLS_LDFLAGS= -lintl
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's|^\(default.*\)test|\1|' \
+ -e 's#md5sum | cut -f1 -d..#md5 -q#' \
+ ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e \
'/^need_include\ /d; \
468s|char argc|int argc|; \
@@ -50,10 +53,6 @@ post-patch: gbsplay-post-patch
s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \
s|-march=$$ARCH||' \
${WRKSRC}/configure
-
-.if ${PKGNAMEPREFIX} == ""
-
-gbsplay-post-patch:
@${REINPLACE_CMD} -e 's|/\(etc/gbsplayrc\)|${PREFIX}/\1|' \
${WRKSRC}/gbsplay.c \
${WRKSRC}/gbsplay.in.1 \
@@ -79,14 +78,15 @@ do-install:
${STAGEDIR}${PREFIX}/etc/gbsplayrc
.endif
+.if ${PORT_OPTIONS:MNLS}
.for l in de en
${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \
${STAGEDIR}${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo
.endfor
+.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Modified: head/audio/gbsplay/distinfo
==============================================================================
--- head/audio/gbsplay/distinfo Fri Oct 7 18:12:38 2016 (r423474)
+++ head/audio/gbsplay/distinfo Fri Oct 7 18:15:56 2016 (r423475)
@@ -1,2 +1,3 @@
-SHA256 (gbsplay-0.0.8.tar.gz) = 9bd95118741315e991dfe4f5108128817725c924ba81bb4938de45290e8f0926
-SIZE (gbsplay-0.0.8.tar.gz) = 57033
+TIMESTAMP = 1475758315
+SHA256 (mmitch-gbsplay-0.0.93_GH0.tar.gz) = 49a4545b51b91d3c01100b7f99d7c00f981f60d2bade7389255076078deef4ef
+SIZE (mmitch-gbsplay-0.0.93_GH0.tar.gz) = 66683
Modified: head/audio/gbsplay/pkg-descr
==============================================================================
--- head/audio/gbsplay/pkg-descr Fri Oct 7 18:12:38 2016 (r423474)
+++ head/audio/gbsplay/pkg-descr Fri Oct 7 18:15:56 2016 (r423475)
@@ -2,4 +2,4 @@ gbsplay emulates the sound hardware of t
to play the sounds from a Game Boy(TM) module dump (.GBS format) through
/dev/dsp, standard output or NAS.
-WWW: http://gbsplay.berlios.de/
+WWW: https://github.com/mmitch/gbsplay
Modified: head/audio/gbsplay/pkg-plist
==============================================================================
--- head/audio/gbsplay/pkg-plist Fri Oct 7 18:12:38 2016 (r423474)
+++ head/audio/gbsplay/pkg-plist Fri Oct 7 18:15:56 2016 (r423475)
@@ -1,8 +1,8 @@
bin/gbsplay
bin/gbsinfo
@sample etc/gbsplayrc.sample
-share/locale/de/LC_MESSAGES/gbsplay.mo
-share/locale/en/LC_MESSAGES/gbsplay.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gbsplay.mo
+%%NLS%%share/locale/en/LC_MESSAGES/gbsplay.mo
man/man1/gbsinfo.1.gz
man/man1/gbsplay.1.gz
man/man5/gbsplayrc.5.gz
More information about the svn-ports-all
mailing list