mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
1 changed files with 2 additions and 8 deletions
|
@ -20,22 +20,16 @@ LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
USES= dos2unix pkgconfig
|
USES= dos2unix pkgconfig qmake
|
||||||
DOS2UNIX_FILES= processwrapper.cc
|
DOS2UNIX_FILES= processwrapper.cc
|
||||||
USE_XORG= xtst
|
USE_XORG= xtst
|
||||||
USE_QT4= corelib gui webkit phonon \
|
USE_QT4= corelib gui webkit phonon \
|
||||||
qmake_build linguist_build moc_build rcc_build script_build uic_build
|
linguist_build moc_build rcc_build script_build uic_build
|
||||||
MAKE_ENV+= INSTALL_ROOT=${STAGEDIR}
|
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop
|
@${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:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}/locale
|
@${MKDIR} ${STAGEDIR}${DATADIR}/locale
|
||||||
${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale
|
${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale
|
||||||
|
|
Loading…
Add table
Reference in a new issue