diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-08-01 14:49:21 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-08-01 14:49:21 +0000 |
commit | 79e843bb8ac1bb2c7afb9043857f37ceaac2abcc (patch) | |
tree | 53194644d36926daec93273949b0fd9c6421789c /graphics/libqglviewer/Makefile | |
parent | Upgrade to binutils-2.16. (diff) |
- Fix build on 4.x
PR: ports/84404
Submitted by: Ports Fury
Diffstat (limited to 'graphics/libqglviewer/Makefile')
-rw-r--r-- | graphics/libqglviewer/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/graphics/libqglviewer/Makefile b/graphics/libqglviewer/Makefile index e9adeb8d1a9c..d44eaae90917 100644 --- a/graphics/libqglviewer/Makefile +++ b/graphics/libqglviewer/Makefile @@ -17,27 +17,20 @@ COMMENT= A C++ library helps development of 3D applications BUILD_DEPENDS= ${QMAKE}:${PORTSDIR}/devel/qmake +WRKSRC= ${WRKDIR}/${DISTNAME}/QGLViewer + USE_QT_VER= 3 -MAKE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ - QTDIR=${X11BASE} -MAKE_ARGS= PREFIX=${PREFIX} -QMAKE= ${LOCALBASE}/bin/qmake +MAKE_ENV= QTDIR="${QT_PREFIX}" INSTALLS_SHLIB= yes +NO_FILTER_SHLIBS= yes DOCSDIR= ${PREFIX}/share/doc/QGLViewer -PORTDOCS= * - -do-build: - @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} ${MAKE_ARGS} && \ - ${SETENV} ${MAKE_ENV} ${MAKE}) -do-install: - @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${MAKE} install) +QMAKE?= ${LOCALBASE}/bin/qmake +QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ -post-install: - @${FIND} ${PREFIX}/include/QGLViewer ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PREFIX}/include/QGLViewer -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +do-configure: + cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \ + -spec ${QMAKESPEC} QGLViewer.pro PREFIX="${PREFIX}" .include <bsd.port.mk> |