1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/cad/kicad-library-footprints-devel/Makefile
Michael Reifenberger ddf7fbf951 Switch the *library* ports to gitlab.
Update all devel ports to the current versions.
2020-12-27 17:33:10 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Thierry Thomas <thierry@FreeBSD.org>
# $FreeBSD$
PORTNAME= kicad
DISTVERSION= r${GIT_FP_DATE}
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= https://gitlab.com/kicad/libraries/${PORTNAME}-footprints/-/archive/${GL_COMMIT}/
PKGNAMESUFFIX= -library-footprints-devel
DISTNAME= ${PORTNAME}-footprints-${GL_COMMIT}
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_GITLAB= nodefault
GL_ACCOUNT= kicad
GL_PROJECT= kicad/libraries
GL_COMMIT= ${GIT_FP_HASH}
# WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
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>