| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/qcustomplot-qt5/ |
Upload File : |
PORTNAME= qcustomplot
DISTVERSION= 2.1.0
CATEGORIES= graphics
MASTER_SITES= https://www.qcustomplot.com/release/${PORTVERSION}fixed/
PKGNAMESUFFIX= ${SUFFIX}
DISTNAME= QCustomPlot
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Qt C++ widget for plotting and data visualization
WWW= https://www.qcustomplot.com
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/GPL.txt
USES= compiler:c++11-lang pkgconfig qt:5
USE_QT= core gui widgets printsupport buildtools:build
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SUFFIX= -qt5
PLIST_FILES= include/qcustomplot.h \
lib/libQCustomPlot${SUFFIX}.so
do-build:
@cd ${WRKSRC} && \
${MOC} qcustomplot.h > qcustomplot_moc.cpp && \
${CXX} ${CXXFLAGS} -shared -fPIC \
-I${PREFIX}/include \
`pkg-config --cflags --libs Qt5Core Qt5Gui Qt5Widgets Qt5PrintSupport` \
qcustomplot.cpp \
qcustomplot_moc.cpp \
-o ${WRKSRC}/libQCustomPlot${SUFFIX}.so \
-Wl,-soname,libQCustomPlot${SUFFIX}.so
do-install:
${INSTALL_DATA} ${WRKSRC}/qcustomplot.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/libQCustomPlot${SUFFIX}.so ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>