ports/textproc/code2html/Makefile
Daniel Engberg 93406e1c2a textproc/code2html: Deprecate and set expiration date to 2025-04-30
Obsolete utility, last activity upstream in 2002

Reference:
https://www.palfrader.org/code/code2html/
2025-03-13 21:46:31 +01:00

35 lines
891 B
Makefile

PORTNAME= code2html
PORTVERSION= 0.9.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF \
http://www.palfrader.org/code2html/all/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sourcecode to HTML converter
WWW= https://www.palfrader.org/code2html/
DEPRECATED= Obsolete utility, last activity upstream in 2002
EXPIRATION_DATE=2025-04-30
NO_BUILD= yes
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= code2html
PLIST_FILES= bin/code2html share/man/man1/code2html.1.gz
do-configure:
@${REINPLACE_CMD} \
-e 's|/usr/bin/bzip2|${BZIP2_CMD}|' \
-e 's|/bin/gzip|/usr/bin/gzip|' \
-e 's|/etc/|${PREFIX}/etc/|' \
${WRKSRC}/code2html
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \
${WRKSRC}/code2html.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/code2html ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/code2html.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>