bdd2d4af96
Update the CONFLICTS definitions of ports in the following categories: - accessibility - archivers - audio - benchmarks - biology - cad - chinese - comms - converters An attempt has been made to use generic conflicts patterns that do not have to be updated whenever a new version of a conflicting port is added to the ports system. There is a misunderstanding that the port being built/installed has to be omitted from the conflicts pattern. This is not true - the port being built is implicitly non-conflicting due to logic in bsd.port.mk. Approved by: portmgr (implicit)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Thierry Thomas <thierry@FreeBSD.org>
|
|
|
|
PORTNAME= kicad
|
|
DISTVERSION= r${GIT_SYM_DATE}
|
|
PORTREVISION= 0
|
|
CATEGORIES= cad
|
|
MASTER_SITES= https://gitlab.com/kicad/libraries/${PORTNAME}-symbols/-/archive/${GL_COMMIT}/
|
|
PKGNAMESUFFIX= -library-symbols-devel
|
|
DISTNAME= ${PORTNAME}-symbols-${GL_COMMIT}
|
|
|
|
MAINTAINER= mr@FreeBSD.org
|
|
COMMENT= Official KiCad schematic symbol libraries for the future Kicad 5 release
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= kicad:cad/kicad-devel
|
|
|
|
CONFLICTS_INSTALL= kicad-library-symbols # share/kicad/symbols/4xxx.kicad_sym
|
|
|
|
USE_GITLAB= nodefault
|
|
GL_ACCOUNT= kicad
|
|
GL_PROJECT= kicad/symbols
|
|
GL_COMMIT= ${GIT_SYM_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>
|