From ae6dfef5fa757311a1917abdad5acd041e6b897e Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 7 Nov 2016 14:26:23 +0000 Subject: - Pet portlint - Cosmetic fixes - Fix WWW: --- cad/librecad/Makefile | 24 ++++++++++++------------ cad/librecad/pkg-descr | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'cad/librecad') diff --git a/cad/librecad/Makefile b/cad/librecad/Makefile index 0379e67b24fd..bc8e2cf6f602 100644 --- a/cad/librecad/Makefile +++ b/cad/librecad/Makefile @@ -10,36 +10,36 @@ COMMENT= 2D CAD system BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= libmuparser.so:math/muparser -USE_QT4= gui help network sql svg help-tools_build \ - linguisttools_build moc_build rcc_build uic_build -USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake - USE_GITHUB= yes GH_ACCOUNT= LibreCAD GH_PROJECT= LibreCAD +USE_QT4= gui help network sql svg help-tools_build \ + linguisttools_build moc_build rcc_build uic_build +USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake + # Unhide std::to_string() to fix build with GCC (ports/193528) -CFLAGS= -D_GLIBCXX_USE_C99 +CFLAGS+= -D_GLIBCXX_USE_C99 post-patch: - ${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ + @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/librecad/src/lib/engine/rs_settings.cpp \ ${WRKSRC}/librecad/src/lib/engine/rs_system.cpp - ${REINPLACE_CMD} -e \ + @${REINPLACE_CMD} -e \ '/^Icon/s,librecad,${PREFIX}/share/pixmaps/librecad.png,' \ ${WRKSRC}/desktop/librecad.desktop pre-install: - ${CHMOD} +w ${WRKSRC}/unix/resources/plugins/*.so - ${STRIP_CMD} ${WRKSRC}/unix/resources/plugins/*.so + @${CHMOD} +w ${WRKSRC}/unix/resources/plugins/*.so + @${STRIP_CMD} ${WRKSRC}/unix/resources/plugins/*.so 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 && \ - ${INSTALL_DATA} ${WRKSRC}/unix/appdata/librecad.appdata.xml \ - ${STAGEDIR}${PREFIX}/share/appdata) + @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata + ${INSTALL_DATA} ${WRKSRC}/unix/appdata/librecad.appdata.xml \ + ${STAGEDIR}${PREFIX}/share/appdata ${INSTALL_DATA} ${WRKSRC}/desktop/librecad.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/librecad/res/main/librecad.png \ diff --git a/cad/librecad/pkg-descr b/cad/librecad/pkg-descr index 2fbf69946976..d29f68863206 100644 --- a/cad/librecad/pkg-descr +++ b/cad/librecad/pkg-descr @@ -1,4 +1,4 @@ LibreCAD is a 2D CAD drawing application based on the community edition of QCad (www.qcad.org). -WWW: http://librecad.org +WWW: http://librecad.org/ -- cgit