pkgsrc/net/transmission-qt/Makefile

25 lines
677 B
Makefile

# $NetBSD: Makefile,v 1.5 2014/02/12 23:18:26 tron Exp $
PKGNAME= ${DISTNAME:C:-:-qt-:}
PKGREVISION= 4
USE_LANGUAGES+= c c++
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}${PREFIX}
CONFIGURE_ARGS+= --disable-cli --disable-daemon --without-gtk
CONFLICTS+= Transmission-gui-[0-9]*
.include "../../net/transmission/Makefile.common"
post-build:
cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake qtr.pro
cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} make
do-install:
cd ${WRKSRC}/qt && ${SETENV} ${INSTALL_ENV} make install
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"