blob: b79c1309cf73ac1580aeeedf9f71f43aadff980e (
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
34
35
36
37
38
39
40
41
42
|
# Created by: Thierry Thomas <thierry@FreeBSD.org>
# $FreeBSD$
PORTNAME= kicad
DISTVERSION= r${GIT_P3D_DATE}
PORTREVISION= 1
CATEGORIES= cad
PKGNAMESUFFIX= -library-packages3d-devel
MAINTAINER= mr@FreeBSD.org
COMMENT= Official KiCad 3D model libraries for rendering and MCAD integration
LICENSE= GPLv2
RUN_DEPENDS= kicad:cad/kicad-devel
CONFLICTS= kicad-4.*
USE_GITHUB= yes
GH_ACCOUNT= KiCad
GH_PROJECT= kicad-packages3D
GH_TAGNAME= ${GIT_P3D_HASH}
USES= cmake
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
-DCMAKE_BUILD_TYPE="Release" \
-DKICAD_TESTING_VERSION=ON \
-DKICAD_BUILD_VERSION=${DISTVERSION}
INSTALL_TARGET= install
NO_ARCH= yes
.include "Makefile.git_rev"
# Updating to new rev:
# sh files/newVersion.sh
# make install #breaks probably due to plist differences
# make makeplist > pkg-plist #One has to edit/review the generated plist
# make generate-plist && make check-plist
.include <bsd.port.mk>
|