=================================================================== RCS file: /cvs/ports/audio/qtscrobbler/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.5 diff -u -r1.1 -r1.5 --- ports/audio/qtscrobbler/Attic/Makefile 2010/04/24 08:05:03 1.1 +++ ports/audio/qtscrobbler/Attic/Makefile 2010/12/01 04:27:59 1.5 @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2010/04/24 07:05:03 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2010/12/01 04:27:59 yason Exp $ -COMMENT= simple tool for submitting .scrobbler.log to last.fm -VERSION= 0.10 +COMMENT = simple tool for submitting .scrobbler.log to last.fm + DISTNAME= qtscrob-0.10 -#PKGNAME= scrobble-cli-${VERSION} + CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qtscrob/} @@ -19,23 +19,22 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c crypto m ssl stdc++ usb z +WANTLIB= QtCore QtGui X11 Xext c crypto curl idn m mtp pthread ssl stdc++ usb z -LIB_DEPENDS= curl::net/curl \ - idn::devel/libidn \ - ::converters/libiconv \ - mtp::devel/libmtp - -#WANTLIB += X11 Xext pthread -#LIB_DEPENDS = QtCore,QtGui::x11/qt4 -#RUN_DEPENDS = ::devel/desktop-file-utils - -USE_X11= No +BUILD_DEPENDS = devel/ccache +LIB_DEPENDS= net/curl \ + devel/libidn \ + devel/libmtp \ + x11/qt4 +RUN_DEPENDS = desktop-file-utils-*:devel/desktop-file-utils USE_GMAKE= Yes WRKSRC = ${WRKDIST}/src/cli +NO_REGRESS = Yes + post-build: cd ${WRKDIST}/src/qt && qmake4 && gmake + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/scrobble-cli ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/scrobble-cli.1 ${PREFIX}/man/man1