diff --git a/cad/veroroute/Makefile b/cad/veroroute/Makefile index 7f84d5f6d4f9..3a0c0aaecac1 100644 --- a/cad/veroroute/Makefile +++ b/cad/veroroute/Makefile @@ -1,23 +1,27 @@ PORTNAME= veroroute DISTVERSION= 2.25 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= PCB (printed circuit board) design software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../licenses/license_GPLv3.txt USES= compiler:c++11-lang gl qmake qt:5 USE_QT= core gui network widgets buildtools_build USE_GL= gl WRKSRC= ${WRKDIR}/VeroRoute WRKSRC_SUBDIR= Src post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/veroroute + # workaround for https://sourceforge.net/p/veroroute/tickets/26/ + @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|' \ + ${STAGEDIR}${PREFIX}/share/applications/veroroute.desktop .include