diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 22:26:23 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 22:26:23 +0800 |
commit | ae6dfef5fa757311a1917abdad5acd041e6b897e (patch) | |
tree | 20efb4e98f90cc4d34542e396d826188446c13ad | |
parent | f446313c2650e3b484bb11ba528a87b02428ab07 (diff) | |
download | freebsd-ports-gnome-ae6dfef5fa757311a1917abdad5acd041e6b897e.tar.gz freebsd-ports-gnome-ae6dfef5fa757311a1917abdad5acd041e6b897e.tar.zst freebsd-ports-gnome-ae6dfef5fa757311a1917abdad5acd041e6b897e.zip |
- Pet portlint
- Cosmetic fixes
- Fix WWW:
-rw-r--r-- | cad/librecad/Makefile | 24 | ||||
-rw-r--r-- | cad/librecad/pkg-descr | 2 |
2 files changed, 13 insertions, 13 deletions
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/ |