aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/mygui/Makefile
blob: aa3d2bce0113810cd2863f465550a84eb87fea0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mygui
PORTVERSION=    3.2.0
PORTREVISION=   1
CATEGORIES= x11-toolkits graphics devel
MASTER_SITES=   SF/my-gui/MyGUI/MyGUI_${PORTVERSION}
DISTNAME=   MyGUI_${PORTVERSION}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Fast, simple and flexible GUI system for Ogre engine

LIB_DEPENDS=    libfreetype.so:${PORTSDIR}/print/freetype2 \
        libOgreMain.so:${PORTSDIR}/graphics/ogre3d \
        libOIS.so:${PORTSDIR}/devel/ois

USES=       cmake pkgconfig zip
CMAKE_ARGS= -DMYGUI_BUILD_DEMOS=OFF -DMYGUI_BUILD_DOCS=OFF
USE_LDCONFIG=   yes
USE_GCC=    yes
USE_DOS2UNIX=   *.cpp *.h

post-patch:
    @${REINPLACE_CMD} -e '/install/ s|lib/pkgconfig|libdata/pkgconfig|' \
        ${WRKSRC}/CMake/ConfigureBuild.cmake

.include <bsd.port.mk>