svn commit: r567479 - branches/2021Q1/graphics/xfig
Guido Falsi
madpilot at FreeBSD.org
Sat Mar 6 11:35:50 UTC 2021
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 at 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>
More information about the svn-ports-all
mailing list