aboutsummaryrefslogtreecommitdiff
path: root/cad/kicad-library-footprints-devel/Makefile
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2018-07-06 08:24:33 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2018-07-06 08:24:33 +0000
commit3ca16fb3311195e285a82b5b3225c55d45b6c94b (patch)
tree79e6c383b06c6720505976ce41bf257dc1ee8387 /cad/kicad-library-footprints-devel/Makefile
parenta06e03ee7993b79d09846d5d724937781d336dbe (diff)
downloadports-3ca16fb3311195e285a82b5b3225c55d45b6c94b.tar.gz
ports-3ca16fb3311195e285a82b5b3225c55d45b6c94b.zip
Follow upstream and split the kicad-library-devel port into
kicad-library-footprints-devel kicad-library-packages3d-devel and kicad-library-symbols-devel
Notes
Notes: svn path=/head/; revision=474000
Diffstat (limited to 'cad/kicad-library-footprints-devel/Makefile')
-rw-r--r--cad/kicad-library-footprints-devel/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/cad/kicad-library-footprints-devel/Makefile b/cad/kicad-library-footprints-devel/Makefile
new file mode 100644
index 000000000000..8908a2724ac6
--- /dev/null
+++ b/cad/kicad-library-footprints-devel/Makefile
@@ -0,0 +1,41 @@
+# Created by: Thierry Thomas <thierry@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= kicad
+DISTVERSION= r${GIT_FP_DATE}
+CATEGORIES= cad
+PKGNAMESUFFIX= -library-devel
+
+MAINTAINER= mr@FreeBSD.org
+COMMENT= Official KiCad Footprint Libraries for the future Kicad version 5
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= kicad:cad/kicad-devel
+
+CONFLICTS= kicad-4.*
+
+USE_GITHUB= yes
+GH_ACCOUNT= KiCad
+GH_PROJECT= kicad-footprints
+GH_TAGNAME= ${GIT_FP_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>