mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
67 lines
1.9 KiB
Makefile
67 lines
1.9 KiB
Makefile
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ogre3d
|
|
PORTVERSION= 1.9.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= https://bitbucket.org/sinbad/ogre/get/
|
|
DISTNAME= v1-9-0
|
|
WRKSRC= ${WRKDIR}/sinbad-ogre-dd30349ea667
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
COMMENT= Scene-oriented, flexible 3D engine written in C++
|
|
|
|
LIB_DEPENDS= libzzip.so:${PORTSDIR}/devel/zziplib \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
libfreeimage.so:${PORTSDIR}/graphics/freeimage
|
|
|
|
OPTIONS_DEFINE= BOOST DOCS
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= tar:bzip2 cmake pkgconfig compiler:c++11-lib
|
|
USE_SDL= sdl
|
|
USE_XORG= xaw xrandr
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MBOOST}
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
|
RUN_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
|
PLIST_SUB+= BOOSTTRUE=""
|
|
PLIST_SUB+= BOOSTFALSE="@comment "
|
|
.else
|
|
PLIST_SUB+= BOOSTTRUE="@comment "
|
|
PLIST_SUB+= BOOSTFALSE=""
|
|
.endif
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not install on powerpc
|
|
.endif
|
|
|
|
post-patch:
|
|
.if ! ${PORT_OPTIONS:MBOOST}
|
|
@${REINPLACE_CMD} -e 's|Boost|No_Boost|g' \
|
|
${WRKSRC}/CMake/Dependencies.cmake
|
|
.endif
|
|
# disable OIS, POCO, TBB detection
|
|
@${REINPLACE_CMD} -e 's|include(FindPkgMacros)|return()|g' \
|
|
${WRKSRC}/CMake/Packages/FindOIS.cmake \
|
|
${WRKSRC}/CMake/Packages/FindPOCO.cmake \
|
|
${WRKSRC}/CMake/Packages/FindTBB.cmake
|
|
@${REINPLACE_CMD} -e 's|\(OGRE_RW_MUTEX[^;]*\)$$|\1;|g' \
|
|
${WRKSRC}/OgreMain/include/OgreWorkQueue.h
|
|
@${REINPLACE_CMD} -e 's|\(OGRE_RW_MUTEX.*\);$$|\1|g' \
|
|
${WRKSRC}/OgreMain/include/Threading/OgreThreadDefinesBoost.h
|
|
@${REINPLACE_CMD} -e '\
|
|
s,defined(__x86_64__),& || defined(__powerpc__) || defined(__sparc64__) || defined(__amd64__),' \
|
|
${WRKSRC}/OgreMain/include/OgrePlatform.h
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for docfile in README COPYING AUTHORS
|
|
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|