1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Unify configure target with other qmake based ports.

This commit is contained in:
Max Brazhnikov 2010-08-01 17:24:08 +00:00
parent 5c5ef68103
commit df1b999b6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258593

View File

@ -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>