<div dir="ltr"><div>For kde4 the install prefix is /usr/local/kde4 unless it has changed.<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 12, 2013 at 11:53 PM, Otacílio <span dir="ltr"><<a href="mailto:otacilio.neto@ee.ufcg.edu.br" target="_blank">otacilio.neto@ee.ufcg.edu.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dears<br>
<br>
I'm trying port qtserialport to FreeBSD, butthe make install don't<br>
respect the PREFIX variable.Can someone giveme a help about this? Bellow<br>
is the port's Makefile.<br>
<br>
PORTNAME=    qtserialport<br>
PORTVERSION=    4<br>
CATEGORIES=    devel<br>
#MASTER_SITES=    <a href="http://www.xm1math.net/texmaker/" target="_blank">http://www.xm1math.net/texmaker/</a><br>
<br>
MAINTAINER=    <a href="mailto:otacilio.neto@bsd.com.br">otacilio.neto@bsd.com.br</a><br>
COMMENT=    Qt4 bindings for serial manipulation<br>
<br>
#LIB_DEPENDS=    poppler:${PORTSDIR}/graphics/poppler \<br>
#        poppler-qt4:${PORTSDIR}/graphics/poppler-qt4<br>
#RUN_DEPENDS=<br>
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme<br>
<br>
#USE_BZIP2=    yes<br>
USE_QT4=    moc_build qmake_build<br>
<br>
HAS_CONFIGURE=    yes<br>
QMAKE_ARGS=    PREFIX=${PREFIX}<br>
<br>
MAKE_JOBS_SAFE=    yes<br>
<br>
WRKSRC=    ${WRKDIR}/qt-qtserialport<br>
<br>
CONFIGURE_ARGS+=    --with-qt-includes=${QT_INCDIR} \<br>
            --with-qt-libraries=${QT_LIBDIR} \<br>
            --with-extra-libs=${LOCALBASE}/lib \<br>
            --with-extra-includes=${LOCALBASE}/include<br>
CONFIGURE_ENV+=    MOC="${MOC}" UIC="${UIC}" LIBS="${QTCFGLIBS}" \<br>
        QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" QTDIR="${QT_PREFIX}"<br>
MAKE_ENV+=    QMAKESPEC="${QMAKESPEC}"<br>
<br>
PLIST_SUB+=    QT_INCDIR_REL=${QT_INCDIR_REL} \<br>
        QT_LIBDIR_REL=${QT_LIBDIR_REL} \<br>
        QT_PLUGINDIR_REL=${QT_PLUGINDIR_REL}<br>
<br>
.include <<a href="http://bsd.port.options.mk" target="_blank">bsd.port.options.mk</a>><br>
<br>
#pre-configure:<br>
#    ${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \<br>
#        -e 's,/usr/lib,${LOCALBASE}/lib,g' \<br>
#        ${WRKSRC}/<a href="http://texmaker.pro" target="_blank">texmaker.pro</a><br>
<br>
pre-configure:<br>
    ${MKDIR} ${WRKSRC}<br>
<br>
do-configure:<br>
    @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \<br>
        ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} <a href="http://qtserialport.pro" target="_blank">qtserialport.pro</a><br>
<br>
.include <<a href="http://bsd.port.mk" target="_blank">bsd.port.mk</a>><br>
_______________________________________________<br>
kde-freebsd mailing list<br>
<a href="mailto:kde-freebsd@kde.org">kde-freebsd@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-freebsd" target="_blank">https://mail.kde.org/mailman/listinfo/kde-freebsd</a><br>
See also <a href="http://freebsd.kde.org/" target="_blank">http://freebsd.kde.org/</a> for latest information<br>
</blockquote></div><br></div>