Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2011 03:20:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159423: Update port: audio/gx2osd
Message-ID:  <20110804032019.5d3d4f54.tkato432@yahoo.com>
Resent-Message-ID: <201108031840.p73IeDok075274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159423
>Category:       ports
>Synopsis:       Update port: audio/gx2osd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 18:40:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/gx2osd/Makefile audio/gx2osd/Makefile
--- /usr/ports/audio/gx2osd/Makefile	2011-08-02 15:44:25.000000000 +0900
+++ audio/gx2osd/Makefile	2011-08-02 15:47:07.000000000 +0900
@@ -8,37 +8,48 @@
 PORTVERSION=	0.2
 PORTREVISION=	6
 CATEGORIES=	audio
-MASTER_SITES=	http://eclipser.no-ip.org/
+MASTER_SITES=	http://eclipser.xmms2.org/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An OSD client for XMMS2
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2011-09-01
-
-LIB_DEPENDS=	gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
+LIB_DEPENDS=	xmmsclient++.4:${PORTSDIR}/audio/cpp-xmms2 \
 		glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
-		xerces-c.27:${PORTSDIR}/textproc/xerces-c2
-BUILD_DEPENDS=	${LOCALBASE}/lib/libxmmsclient++.so.3:${PORTSDIR}/audio/cpp-xmms2
-RUN_DEPENDS=	${LOCALBASE}/lib/libxmmsclient++.so.3:${PORTSDIR}/audio/cpp-xmms2
+		xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
+		gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
 
-BROKEN=		does not configure
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_BZIP2=	yes
-USE_PYTHON_BUILD=	yes
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-MAKE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" WAF_HOME=.
+USE_PYTHON_BUILD=yes
+MAKE_JOBS_SAFE=	yes
 
 MAN1=		gx2osd.1
 
+.include <bsd.port.pre.mk>
+
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+WAF_VERBOSE=	--verbose
+.endif
+
+.if defined(MAKE_JOBS_NUMBER)
+WAF_JOBS=	--jobs=${MAKE_JOBS_NUMBER}
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		"/CXXFLAGS/s|= cxxflags|= '${CXXFLAGS}'|" ${WRKSRC}/wscript
+
 do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --conf-prefix=${LOCALBASE} --with-mandir=${PREFIX}/man --prefix=${PREFIX} configure
+	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} \
+		--prefix=${PREFIX} \
+		--conf-prefix=${LOCALBASE} \
+		--with-mandir=${MANPREFIX}/man configure)
 
 do-build:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
+	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
 
 do-install:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf ${INSTALL_TARGET}
+	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} install)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/gx2osd/pkg-descr audio/gx2osd/pkg-descr
--- /usr/ports/audio/gx2osd/pkg-descr	2006-11-13 08:57:10.000000000 +0900
+++ audio/gx2osd/pkg-descr	2011-07-24 03:25:12.000000000 +0900
@@ -1,3 +1,3 @@
 A simple on-screen display client for XMMS2 with cover-art support.
 
-WWW: http://wiki.xmms2.xmms.se/index.php/Client:gx2osd
+WWW: http://eclipser.xmms2.org/gx2osd.xhtml
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032019.5d3d4f54.tkato432>