blob: 47547e228830a40bc2d11df75072f8ed87a68e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.25 2017/04/30 01:21:58 ryoon Exp $
PKGNAME= transmission-qt-${VERSION}
PKGREVISION= 8
USE_LANGUAGES= c c++
MAKE_ENV+= QTDIR=${QTDIR}
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[6-9].*-*)
MAKE_ENV+= SUBLIBS=-lquota
.endif
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}${PREFIX}
CONFIGURE_ARGS+= --disable-cli
CONFIGURE_ARGS+= --disable-daemon
CONFIGURE_ARGS+= --disable-mac
CONFIGURE_ARGS+= --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
post-install:
${MKDIR} ${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${FILESDIR}/transmission-qt.desktop \
${DESTDIR}${PREFIX}/share/applications/transmission-qt.desktop
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|