aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-08-22 11:54:46 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-08-22 11:54:46 +0000
commitbe35ecd73c641cd01e297dd1875118f409afac35 (patch)
treee71173c67ce65a18018dc91fe858f55f92e47fee /audio
parent81f16090341e8e4b02a4df02688bbe6699bbcca1 (diff)
downloadports-be35ecd73c641cd01e297dd1875118f409afac35.tar.gz
ports-be35ecd73c641cd01e297dd1875118f409afac35.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gx2osd/Makefile47
-rw-r--r--audio/gx2osd/pkg-descr2
2 files changed, 31 insertions, 18 deletions
diff --git a/audio/gx2osd/Makefile b/audio/gx2osd/Makefile
index 31928a91c7a5..2b053a086eb0 100644
--- a/audio/gx2osd/Makefile
+++ b/audio/gx2osd/Makefile
@@ -8,37 +8,50 @@ PORTNAME= gx2osd
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
-
-BROKEN= does not configure
+ xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
+ gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
-USE_BZIP2= yes
-USE_PYTHON_BUILD= yes
+DEPRECATED= No more public distfiles
WRKSRC= ${WRKDIR}/${PORTNAME}
-MAKE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" WAF_HOME=.
+
+USE_BZIP2= yes
+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 --git a/audio/gx2osd/pkg-descr b/audio/gx2osd/pkg-descr
index 99fdcd83491c..4271f8f9a68d 100644
--- a/audio/gx2osd/pkg-descr
+++ b/audio/gx2osd/pkg-descr
@@ -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