aboutsummaryrefslogtreecommitdiff
path: root/cad/leocad/Makefile
blob: 7685e6067f26b9b9741e0e3f45c35ace5bcf6044 (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
29
30
31
32
33
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$

PORTNAME=	leocad
DISTVERSIONPREFIX=	v
DISTVERSION=	19.07.1
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	CAD program for creating virtual LEGO models

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/docs/COPYING.txt

RUN_DEPENDS=	ldraw>0:cad/ldraw

USES=		compiler:c++11-lang desktop-file-utils gl qmake qt:5 shared-mime-info xorg
USE_GITHUB=	yes
GH_ACCOUNT=	leozide
USE_QT=		core gui concurrent network opengl printsupport widgets xml buildtools_build linguisttools_build
USE_GL=		gl

QMAKE_ARGS=	INSTALL_PREFIX=${PREFIX} MAN_DIR=${PREFIX}/man/man1 LDRAW_LIBRARY_PATH=${PREFIX}/share/ldraw

PLIST_FILES=	bin/leocad \
		share/applications/leocad.desktop \
		share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg \
		man/man1/leocad.1.gz \
		share/metainfo/leocad.appdata.xml \
		share/mime/packages/leocad.xml \
		share/pixmaps/leocad.png

.include <bsd.port.mk>