aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-01 17:24:08 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-01 17:24:08 +0000
commitdf1b999b6c453eab1592bae7af6d7942f90d37a5 (patch)
tree5be8dd5f21a01e469863c7ddcd21f33988101d8e /multimedia
parent5c5ef681035858e81a4101d5406a6aad957834ae (diff)
downloadports-df1b999b6c453eab1592bae7af6d7942f90d37a5.tar.gz
ports-df1b999b6c453eab1592bae7af6d7942f90d37a5.zip
Unify configure target with other qmake based ports.
Notes
Notes: svn path=/head/; revision=258593
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/abby/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/abby/Makefile b/multimedia/abby/Makefile
index c6ce8ebacef4..40674e4370d9 100644
--- a/multimedia/abby/Makefile
+++ b/multimedia/abby/Makefile
@@ -20,22 +20,23 @@ USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui network xml moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
+QMAKE_ARGS= -unix -recursive PREFIX=${PREFIX} ${QMAKE_PRO}
+QMAKE_PRO= abby.pro
PLIST_FILES= bin/abby
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} -unix PREFIX=${PREFIX} abby.pro
-
.include <bsd.port.pre.mk>
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/abby ${PREFIX}/bin/abby
-
.if defined(WITH_CCLIVE)
RUN_DEPENDS+= cclive>=0.5.6:${PORTSDIR}/multimedia/cclive
.else
RUN_DEPENDS+= clive>=2.2.5:${PORTSDIR}/multimedia/clive
.endif
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/abby ${PREFIX}/bin/abby
+
.include <bsd.port.post.mk>