aboutsummaryrefslogtreecommitdiff
path: root/textproc/goldendict
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-11-22 13:34:33 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-11-22 13:34:33 +0000
commit4230709751cd92db90ef5adb7e94cf3744cd756f (patch)
treee2f289d0d3d0b861815528270ae3dab6e297c1c9 /textproc/goldendict
parentc6476cad4305fb1a0e26e961d1d7499521df5c80 (diff)
Notes
Diffstat (limited to 'textproc/goldendict')
-rw-r--r--textproc/goldendict/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
index bb293c8014bd..19a123f3dba0 100644
--- a/textproc/goldendict/Makefile
+++ b/textproc/goldendict/Makefile
@@ -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