Date: Sat, 6 Mar 2021 11:35:50 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r567479 - branches/2021Q1/graphics/xfig Message-ID: <202103061135.126BZorV068313@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sat Mar 6 11:35:50 2021 New Revision: 567479 URL: https://svnweb.freebsd.org/changeset/ports/567479 Log: MFH: r567478 - Fix .desktop entry, remove wrong path from Exec line - Convert port to USES=localbase - Silence portlint warnings about variables order PR: 254031 Approved by: mjl@luckie.org.nz (maintainer) Modified: branches/2021Q1/graphics/xfig/Makefile Directory Properties: branches/2021Q1/ (props changed) Modified: branches/2021Q1/graphics/xfig/Makefile ============================================================================== --- branches/2021Q1/graphics/xfig/Makefile Sat Mar 6 11:34:27 2021 (r567478) +++ branches/2021Q1/graphics/xfig/Makefile Sat Mar 6 11:35:50 2021 (r567479) @@ -3,6 +3,7 @@ PORTNAME= xfig PORTVERSION= 3.2.7a +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/mcj/ @@ -13,17 +14,19 @@ LIB_DEPENDS= libpng.so:graphics/png \ libXaw3d.so:x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:print/fig2dev -CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]* +USES= desktop-file-utils gmake jpeg localbase:ldflags \ + tar:xz xorg +CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]* WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -USES= desktop-file-utils gmake jpeg tar:xz xorg GNU_CONFIGURE= yes USE_XORG= ice sm x11 xaw xext xi xmu xpm xt USE_CSTD= gnu89 -CFLAGS+= -Wno-return-type -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CFLAGS+= -Wno-return-type OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/||' ${WRKSRC}/xfig.desktop .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103061135.126BZorV068313>