=================================================================== RCS file: /cvs/ports/audio/qtscrobbler/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/audio/qtscrobbler/Attic/Makefile 2010/04/24 08:05:03 1.1 +++ ports/audio/qtscrobbler/Attic/Makefile 2010/06/03 16:36:30 1.2 @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2010/04/24 07:05:03 yason Exp $ +# $OpenBSD: Makefile,v 1.2 2010/06/03 15:36:30 yason Exp $ -COMMENT= simple tool for submitting .scrobbler.log to last.fm -VERSION= 0.10 +COMMENT = simple cli 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,23 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c crypto m ssl stdc++ usb z +WANTLIB= X11 Xext c crypto m pthread ssl stdc++ usb z +BUILD_DEPENDS = ::devel/ccache 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 + mtp::devel/libmtp \ + QtCore,QtGui::x11/qt4 +RUN_DEPENDS = ::devel/desktop-file-utils +USE_X11 = Yes 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