mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
36 lines
992 B
Makefile
36 lines
992 B
Makefile
PORTNAME= mgdiff
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= XCONTRIB/applications
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
COMMENT= Graphical front end to the UNIX diff command
|
|
WWW= https://BSDforge.com/projects/textproc/mgdiff/
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libgnuregex.so:devel/libgnuregex
|
|
|
|
USES= imake motif xorg
|
|
USE_XORG= ice sm x11 xext xmu xt
|
|
|
|
DESKTOP_ENTRIES= "mgdiff" "GUI front end to the UNIX diff command" \
|
|
"mgdiff-48x48" \
|
|
"mgdiff" "GNOME;GTK;Motif;Development;System;" \
|
|
false
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${FILESDIR}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/mgdiff.x[bp]m ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|