Files
ports/textproc/webcpp/Makefile
T
Daniel Engberg 05b660f9bd textproc/webcpp: Deprecate and set expiration date to 2025-04-30
Abandonware and obsolete, last release in 2004

PR:		285449
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2025-03-30 08:23:14 +02:00

36 lines
848 B
Makefile

PORTNAME= webcpp
PORTVERSION= 0.8.4
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/Webcpp/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= chip-set@mail.ru
COMMENT= Convert your source code to syntax highlighted HTML
WWW= https://webcpp.sourceforge.net/
DEPRECATED= Abandonware and obsolete, last release in 2004
EXPIRATION_DATE=2025-04-30
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
.if defined(WANT_FINAL)
CONFIGURE_ARGS+= --enable-final
USES= gmake
.endif
pre-patch:
${FIND} ${WRKSRC} -name '*.h' | ${XARGS} ${REINPLACE_CMD} \
's|IO->close()|if(IO) IO->close()|g'
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS COPYING README TODO docs.html
@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>