1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/cad/fritzing/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

41 lines
1021 B
Makefile

# Created by: Sergio Lenzi <lenzi.sergio@gmail.com>
# $FreeBSD$
PORTNAME= fritzing
PORTVERSION= 0.9.2
DISTVERSIONSUFFIX= b
PORTREVISION= 10
CATEGORIES= cad
MAINTAINER= lenzi.sergio@gmail.com
COMMENT= CAD for printed circuit boards
LICENSE= GPLv2+
SUB_FILES+= pkg-install
USES= dos2unix gmake python qmake qt:5 tar:bzip2
USE_QT= buildtools concurrent core dbus gui imageformats network printsupport qmake serialport sql-sqlite3 svg xml
DOS2UNIX_REGEX= .*pro
INSTALLS_ICONS= yes
USE_GITHUB= yes
GH_PROJECT= fritzing-app fritzing-parts:parts
PORTDATA= *
MAKE_ENV= INSTALL_ROOT="${STAGEDIR}"
BUILD_DEPENDS+= boost-libs>1.52:devel/boost-libs
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
post-extract:
cd ${WRKSRC_parts};\
${MKDIR} parts;${MV} -f * parts 2> /dev/null || true;\
${MKDIR} pdb;${MV} parts/core pdb;${MKDIR} parts/core;\
${MV} ${WRKSRC}/bins .
post-install:
cd ${WRKSRC_parts}; ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/fritzing
.include <bsd.port.mk>