aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria2fe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/aria2fe/Makefile')
-rw-r--r--www/aria2fe/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/www/aria2fe/Makefile b/www/aria2fe/Makefile
index f8dd42ccde3b..fa12377f66b4 100644
--- a/www/aria2fe/Makefile
+++ b/www/aria2fe/Makefile
@@ -15,19 +15,16 @@ LICENSE= GPLv3 # (or later)
RUN_DEPENDS= aria2c:${PORTSDIR}/www/aria2 \
xterm:${PORTSDIR}/x11/xterm
-BUILD_WRKSRC= ${WRKSRC}/src
-INSTALL_WRKSRC= ${WRKSRC}/bin
-
+USES= qmake
USE_BZIP2= yes
USE_QT4= gui moc_build qmake_build rcc_build uic_build
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
-do-configure:
- @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
+CONFIGURE_WRKSRC= ${WRKSRC}/src
+BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>