1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

KiCad has not depended on xpdf for a long time. As such, the RUN_DEPENDS

can safely be removed.

Submitted by:	Kevin Zheng <kevinz5000 (at) gmail.com>
This commit is contained in:
Thierry Thomas 2017-10-25 19:59:09 +00:00
parent 3287f2db8e
commit eac552e070
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452894

View File

@ -3,7 +3,7 @@
PORTNAME= kicad
PORTVERSION= 4.0.7
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 2
CATEGORIES= cad
@ -18,7 +18,6 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libpixman-1.so:x11/pixman \
libpng.so:graphics/png \
libcurl.so:ftp/curl
RUN_DEPENDS= xpdf:graphics/xpdf
CONFLICTS= kicad-devel-r201*
@ -63,12 +62,9 @@ DOXYGEN_PORTDOCS= doxygen
pre-configure:
${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \
-e 's|/usr/local|${PREFIX}|' \
-e 's|/usr/bin/evince|${LOCALBASE}/bin/xpdf|' \
-e 's|/usr/bin/kpdf|${LOCALBASE}/bin/okular|' \
-e 's|/usr/bin/xpdf|${LOCALBASE}/bin/xpdf|' \
-e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \
-e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \
${WRKSRC}/common/gestfich.cpp
${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \
${WRKSRC}/common/pgm_base.cpp
post-install-DOCS-on:
(cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})