mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
d9ebd7c5e8
VPaint is an experimental prototype based on the Vector Graphics Complex (VGC), a technology developed by a collaboration of researchers at Inria and the University of British Columbia. It allows you to create resolution-independent illustrations and animations using innovative techniques. WWW: https://www.vpaint.org/
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vpaint
|
|
PORTVERSION= 1.7
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Experimental vector graphics and 2D animation editor
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dalboris
|
|
|
|
USES= compiler:c++11-lib eigen:3 gl qmake qt:5
|
|
USE_QT= core gui widgets opengl network qmake_build buildtools_build
|
|
USE_GL= gl glu glew
|
|
|
|
QMAKE_SOURCE_PATH= ${WRKSRC}/src/Gui
|
|
|
|
CXXFLAGS+= -isystem ${LOCALBASE}/include/eigen3
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
DESKTOP_ENTRIES="VPaint" \
|
|
"Vector-Based Animation Editor" \
|
|
"VPaint" \
|
|
"VPaint" \
|
|
"Graphics;" \
|
|
""
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/src/Third
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/VPaint ${STAGEDIR}${PREFIX}/bin
|
|
.for s in 16 32 48 256
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}
|
|
${INSTALL_DATA} ${WRKSRC}/src/Gui/images/icon-${s}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/VPaint.png
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.vec ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|