1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/editors/thoteditor/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

57 lines
1.6 KiB
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= thoteditor
PORTVERSION= 2.1e
PORTREVISION= 5
CATEGORIES= editors www
MASTER_SITES= ftp://ftp.inrialpes.fr/pub/opera/sources/thot/ \
ftp://ftp.ruhr-uni-bochum.de/local/jk.collection/thot/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Structured document editor, offering a graphical WYSIWYG interface
THOT_SUBDIR= Target
USES= gmake motif xorg
USE_XORG= ice sm x11 xext xt
WRKSRC= ${WRKDIR}/Thot/${THOT_SUBDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya \
--disable-java --disable-intr --disable-jit --disable-math \
--disable-ilu
ALL_TARGET= all schemas
SUB_FILES= thoteditor
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
post-extract:
@${MKDIR} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} 's|-g -O|${CFLAGS}|' \
${WRKDIR}/Thot/configure
@${REINPLACE_CMD} 's|%%MOTIFLIB%%|${MOTIFLIB}|' \
${WRKDIR}/Thot/thot/Makefile.in
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \
${WRKDIR}/Thot/thotlib/base/registry.c
@${REINPLACE_CMD} 's|/usr/wsrc/|/usr/tmp/|' \
${WRKDIR}/Thot/thotlib/include/sysdep.h
do-configure:
(cd ${WRKSRC};../configure ${CONFIGURE_ARGS})
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/thot/doc
${INSTALL_SCRIPT} ${WRKDIR}/thoteditor ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/Thot/tools/cextract-1.7/cextract.man \
${STAGEDIR}${PREFIX}/man/man1/cextract.1
${INSTALL_MAN} ${WRKDIR}/Thot/tools/cextract-1.7/cextrc.5 \
${STAGEDIR}${PREFIX}/man/man5
.include <bsd.port.mk>