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:
parent
5c5ef68103
commit
df1b999b6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258593
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user