diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2018-04-01 19:18:19 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2018-04-01 19:18:19 +0000 |
commit | a2c9233b92680dabb8a5eb3552e3960368b65507 (patch) | |
tree | 57457955c8f52dabedcd9ad86e0986f691c96838 /cad/librecad | |
parent | c2bbf93dfcacd27ca6d2d8bd1976252dcb29ae0a (diff) | |
download | ports-a2c9233b92680dabb8a5eb3552e3960368b65507.tar.gz ports-a2c9233b92680dabb8a5eb3552e3960368b65507.zip |
Notes
Diffstat (limited to 'cad/librecad')
-rw-r--r-- | cad/librecad/Makefile | 18 | ||||
-rw-r--r-- | cad/librecad/distinfo | 6 | ||||
-rw-r--r-- | cad/librecad/pkg-plist | 6 |
3 files changed, 14 insertions, 16 deletions
diff --git a/cad/librecad/Makefile b/cad/librecad/Makefile index df71a8168d2c..63c80910b1df 100644 --- a/cad/librecad/Makefile +++ b/cad/librecad/Makefile @@ -1,32 +1,28 @@ # $FreeBSD$ PORTNAME= librecad -PORTVERSION= 2.1.3 -PORTREVISION= 7 +DISTVERSION= 2.2.0-rc1 CATEGORIES= cad MAINTAINER= jhale@FreeBSD.org COMMENT= 2D CAD system LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt +LICENSE_FILE= ${WRKSRC}/licenses/gpl-2.0.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= libmuparser.so:math/muparser \ libfreetype.so:print/freetype2 +USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake USE_GITHUB= yes GH_ACCOUNT= LibreCAD GH_PROJECT= LibreCAD - -USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake USE_GL= gl -USE_QT5= core gui printsupport sql svg widgets \ +USE_QT5= core gui printsupport svg widgets \ buildtools_build linguisttools_build -QMAKE_ARGS+= BOOST_DIR="${LOCALBASE}" -# Unhide std::to_string() to fix build with GCC (ports/193528) -CFLAGS+= -D_GLIBCXX_USE_C99 +QMAKE_ARGS+= BOOST_DIR="${LOCALBASE}" post-patch: @${REINPLACE_CMD} -e 's|QMAKE_CXXFLAGS += -g||' \ @@ -45,9 +41,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unix/librecad ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/unix/ttf2lff ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/unix/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) - @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata + @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/unix/appdata/librecad.appdata.xml \ - ${STAGEDIR}${PREFIX}/share/appdata + ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/desktop/librecad.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/librecad/res/main/librecad.png \ diff --git a/cad/librecad/distinfo b/cad/librecad/distinfo index 3fac1c195f92..6c09fc48202c 100644 --- a/cad/librecad/distinfo +++ b/cad/librecad/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484384119 -SHA256 (LibreCAD-LibreCAD-2.1.3_GH0.tar.gz) = 74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06 -SIZE (LibreCAD-LibreCAD-2.1.3_GH0.tar.gz) = 22415288 +TIMESTAMP = 1522601471 +SHA256 (LibreCAD-LibreCAD-2.2.0-rc1_GH0.tar.gz) = 2c937a9423ecf501902ef74c722ec413562e47c45125ac87257f02942d0676ea +SIZE (LibreCAD-LibreCAD-2.2.0-rc1_GH0.tar.gz) = 13578543 diff --git a/cad/librecad/pkg-plist b/cad/librecad/pkg-plist index f63d4535c4f3..3178220a21d4 100644 --- a/cad/librecad/pkg-plist +++ b/cad/librecad/pkg-plist @@ -1,6 +1,5 @@ bin/librecad bin/ttf2lff -share/appdata/librecad.appdata.xml share/applications/librecad.desktop %%DATADIR%%/fonts/OpenGostTypeA-Regular.lff %%DATADIR%%/fonts/OpenGostTypeB-Regular.lff @@ -48,7 +47,6 @@ share/applications/librecad.desktop %%DATADIR%%/fonts/symeteo.lff %%DATADIR%%/fonts/symusic.lff %%DATADIR%%/fonts/unicode.lff -%%DATADIR%%/fonts/wqy-unicode.lff %%DATADIR%%/library/algoritm/alg1.dxf %%DATADIR%%/library/algoritm/alg10.dxf %%DATADIR%%/library/algoritm/alg11.dxf @@ -1385,6 +1383,7 @@ share/applications/librecad.desktop %%DATADIR%%/patterns/triangle_b.dxf %%DATADIR%%/plugins/libalign.so %%DATADIR%%/plugins/libasciifile.so +%%DATADIR%%/plugins/libgear.so %%DATADIR%%/plugins/libimportshp.so %%DATADIR%%/plugins/liblist.so %%DATADIR%%/plugins/libpicfile.so @@ -1431,6 +1430,7 @@ share/applications/librecad.desktop %%DATADIR%%/qm/librecad_ja.qm %%DATADIR%%/qm/librecad_ko.qm %%DATADIR%%/qm/librecad_lv.qm +%%DATADIR%%/qm/librecad_mk.qm %%DATADIR%%/qm/librecad_nl.qm %%DATADIR%%/qm/librecad_no.qm %%DATADIR%%/qm/librecad_pa.qm @@ -1488,6 +1488,7 @@ share/applications/librecad.desktop %%DATADIR%%/qm/plugins_ja.qm %%DATADIR%%/qm/plugins_ko.qm %%DATADIR%%/qm/plugins_lv.qm +%%DATADIR%%/qm/plugins_mk.qm %%DATADIR%%/qm/plugins_nl.qm %%DATADIR%%/qm/plugins_no.qm %%DATADIR%%/qm/plugins_pa.qm @@ -1505,4 +1506,5 @@ share/applications/librecad.desktop %%DATADIR%%/qm/plugins_uk.qm %%DATADIR%%/qm/plugins_zh_cn.qm %%DATADIR%%/qm/plugins_zh_tw.qm +share/metainfo/librecad.appdata.xml share/pixmaps/librecad.png |