1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/graphics/qvge/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

50 lines
1.2 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= qvge
PORTVERSION= 0.6.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
COMMENT= Qt Visual Graph Editor
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../LICENSE
USE_GITHUB= yes
GH_ACCOUNT= ArsMasiuk
USES= compiler:c++11-lang desktop-file-utils gl qt:5 \
shared-mime-info xorg
USE_GL= gl
USE_QT= buildtools_build qmake_build core gui network opengl \
printsupport svg widgets x11extras xml
USE_XORG= x11
MAKE_ARGS= INSTALL_ROOT=${STAGEDIR}
WRKSRC_SUBDIR= src
PLIST_FILES= bin/qvgeapp share/appdata/qvge.appdata.xml \
share/applications/qvge.desktop \
share/mime/packages/application-xgr.xml \
share/pixmaps/qvge.png
PORTDOCS= CHANGES README.md
OPTIONS_DEFINE= DOCS OGDF
OGDF_DESC= Use OGDF instead of GraphViz engine
OGDF_LIB_DEPENDS= libOGDF.so:math/ogdf
OGDF_QMAKE_ON= CONFIG+=USE_OGDF
OGDF_QMAKE_OFF= CONFIG+=USE_GVGRAPH
OGDF_RUN_DEPENDS_OFF= dot:graphics/graphviz
do-configure:
cd ${CONFIGURE_WRKSRC} && ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>