mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Adopt using qmake.
Requested by: makc
This commit is contained in:
parent
c6476cad43
commit
4230709751
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334592
@ -20,22 +20,16 @@ LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
|
||||
USE_BZIP2= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
HAS_CONFIGURE= yes
|
||||
USES= dos2unix pkgconfig
|
||||
USES= dos2unix pkgconfig qmake
|
||||
DOS2UNIX_FILES= processwrapper.cc
|
||||
USE_XORG= xtst
|
||||
USE_QT4= corelib gui webkit phonon \
|
||||
qmake_build linguist_build moc_build rcc_build script_build uic_build
|
||||
MAKE_ENV+= INSTALL_ROOT=${STAGEDIR}
|
||||
linguist_build moc_build rcc_build script_build uic_build
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} -unix PREFIX=${PREFIX} INCLUDEPATH+=${LOCALBASE}/include \
|
||||
LIBS+=-L${LOCALBASE}/lib ${PORTNAME}.pro
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/locale
|
||||
${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale
|
||||
|
Loading…
Reference in New Issue
Block a user