[kde-freebsd] make install dont respect PREFIX

Super Bisquit superbisquit at gmail.com
Thu Jun 13 04:06:19 UTC 2013


For kde4 the install prefix is /usr/local/kde4 unless it has changed.



On Wed, Jun 12, 2013 at 11:53 PM, Otacílio <otacilio.neto at ee.ufcg.edu.br>wrote:

> Dears
>
> I'm trying port qtserialport to FreeBSD, butthe make install don't
> respect the PREFIX variable.Can someone giveme a help about this? Bellow
> is the port's Makefile.
>
> PORTNAME=    qtserialport
> PORTVERSION=    4
> CATEGORIES=    devel
> #MASTER_SITES=    http://www.xm1math.net/texmaker/
>
> MAINTAINER=    otacilio.neto at bsd.com.br
> COMMENT=    Qt4 bindings for serial manipulation
>
> #LIB_DEPENDS=    poppler:${PORTSDIR}/graphics/poppler \
> #        poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
> #RUN_DEPENDS=
>
> ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
>
> #USE_BZIP2=    yes
> USE_QT4=    moc_build qmake_build
>
> HAS_CONFIGURE=    yes
> QMAKE_ARGS=    PREFIX=${PREFIX}
>
> MAKE_JOBS_SAFE=    yes
>
> WRKSRC=    ${WRKDIR}/qt-qtserialport
>
> CONFIGURE_ARGS+=    --with-qt-includes=${QT_INCDIR} \
>             --with-qt-libraries=${QT_LIBDIR} \
>             --with-extra-libs=${LOCALBASE}/lib \
>             --with-extra-includes=${LOCALBASE}/include
> CONFIGURE_ENV+=    MOC="${MOC}" UIC="${UIC}" LIBS="${QTCFGLIBS}" \
>         QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" QTDIR="${QT_PREFIX}"
> MAKE_ENV+=    QMAKESPEC="${QMAKESPEC}"
>
> PLIST_SUB+=    QT_INCDIR_REL=${QT_INCDIR_REL} \
>         QT_LIBDIR_REL=${QT_LIBDIR_REL} \
>         QT_PLUGINDIR_REL=${QT_PLUGINDIR_REL}
>
> .include <bsd.port.options.mk>
>
> #pre-configure:
> #    ${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \
> #        -e 's,/usr/lib,${LOCALBASE}/lib,g' \
> #        ${WRKSRC}/texmaker.pro
>
> pre-configure:
>     ${MKDIR} ${WRKSRC}
>
> do-configure:
>     @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
>         ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} qtserialport.pro
>
> .include <bsd.port.mk>
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
> See also http://freebsd.kde.org/ for latest information
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20130613/03ca9707/attachment-0001.html>


More information about the kde-freebsd mailing list