1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/cad/openscad-devel/Makefile
Loïc Bartoletti 2933bb22c3 Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Use pypi for PYQT [1]
- Add devel/py-qt5-sip (Don't use it for now. It will be used in future updates of PyQt with py-sip >= 5)
- Add missing py-qt5 ports: comms/py-qt5-sensors, devel/py-qt5-location, devel/py-qt5-remoteobjects, net/py-qt5-networkauth
- Strip libs
- Refactor *_PATH and *_PORT parts

[1] RiverBankComputing doesn't offer links to download latest version of some ports

PR:		247369
Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D25749
Exp-run by:	antoine
2020-10-05 15:50:03 +00:00

53 lines
1.5 KiB
Makefile

# Created by: Michael Reifenberger <mr@FreeBSD.org>
# $FreeBSD$
PORTNAME= openscad
PORTVERSION= 2020.01.04
PORTREVISION= 3
#PORTREVISION= 1
CATEGORIES= cad
PKGNAMESUFFIX= -devel
#PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
#PATCHFILES+= b6c170cc5dd1.patch:-p1
MAINTAINER= mr@FreeBSD.org
COMMENT= Programmer's solid 3D CAD modeller #'
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cgal>0:math/cgal
LIB_DEPENDS= libzip.so:archivers/libzip \
libhidapi.so:comms/hidapi \
libboost_regex.so:devel/boost-libs \
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
libopencsg.so:graphics/opencsg \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libdouble-conversion.so:devel/double-conversion
CONFLICTS= openscad
USES= bison compiler:c++14-lang desktop-file-utils eigen:3 gettext \
gl gnome pkgconfig qmake qt:5 shared-mime-info xorg
USE_GITHUB= yes
USE_GL= gl glu glew
USE_GNOME= glib20 libxml2
USE_QT= buildtools_build core concurrent_build dbus gui multimedia widgets
USE_XORG= x11
GH_TAGNAME= 552643c03e90ff47ae905c06f1d1afbbdb808966
QMAKE_ARGS= CONFIG+="experimental" VERSION=${PORTVERSION}
# Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport)
LDFLAGS+= -Wl,--as-needed
post-patch:
@${REINPLACE_CMD} 's/-libusb//' ${WRKSRC}/features/hidapi.prf
@${REINPLACE_CMD} -e 's,share/man,man,' \
${WRKSRC}/openscad.pro
.include <bsd.port.mk>