freebsd-ports/x11/xmascot/Makefile
Niclas Zeising a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00

34 lines
978 B
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= xmascot
PORTVERSION= 2.6a
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://cclub-flying.dsl.gr.jp/products/xmascot/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Moving mascot on your X11 screen
# Fix build with -fno-common (llvm 11)
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11).
EXPIRATION_DATE=2021-04-01
USES= imake xorg
USE_XORG= ice sm x11 xaw xext xmu xpm xt
MAKE_ARGS= MAKE="${MAKE_CMD}"
# Unbreak parallel (-jX) builds: do not use unsafe MakeSubdirs() macro
post-patch:
@${REINPLACE_CMD} -e 's/MakeSubdirs(/Named&$$(IMAGELIB),/' \
${WRKSRC}/Imakefile
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
${INSTALL_DATA} ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/XMascot \
${STAGEDIR}${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
.include <bsd.port.mk>