aboutsummaryrefslogtreecommitdiff
path: root/cad/leocad/Makefile
blob: 93b189ff79e19b1ceb32758b4c83bcac3accc26a (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
# Created by: David Yeske <dyeske@gmail.com>

PORTNAME=	leocad
DISTVERSIONPREFIX=	v
DISTVERSION=	21.06
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

PORTSCOUT=	limit:^[0-9\.]*$$ # to ignore the 'continuous' tag

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leocad

.include <bsd.port.mk>