1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/textproc/bib2html/Makefile
Muhammad Moinur Rahman fc6aa52305 Mk/bsd.sites.mk: Add new MACRO TEX
There are two different sites/mirror required for the ports tree. Due to
the packaging of texlive we need the CTAN historic mirror which is
defined in TEX_CTAN and normal mirror which hosts most of the packages.
Unfortunately both were uses interchangeably without checking the
details and in previous there was single sites mirroring both the
historic dists and the noemal packages. As this is no longer the case
update all other ports pointing towards the wrong site.

Approved by:	portmgr (blanket)
2023-08-02 16:16:41 +02:00

39 lines
916 B
Makefile

PORTNAME= bib2html
DISTVERSION= 6.7
CATEGORIES= textproc print
MASTER_SITES= TEX/biblio/bibtex/utils
DISTNAME= bib2ml
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= BibTeX to HTML Translator
WWW= https://www.arakhne.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../COPYING
WRKSRC_SUBDIR= src
USES= perl5 shebangfix zip
SHEBANG_FILES= *.pl
USE_PERL5= run
NO_BUILD= yes
NO_ARCH= yes
CONFLICTS_INSTALL= bibutils sowing # bin/bib2html bin/bib2xml
post-patch:
.for i in bib2html bib2sql bib2xml
@${SED} -e \
's:= "$$0";:= "${SITE_PERL}/Bib2HTML";:g' \
< ${WRKSRC}/${i}.pl > ${WRKSRC}/${i}
.endfor
do-install:
(cd ${WRKSRC} && ${INSTALL_SCRIPT} bib2html bib2sql bib2xml \
${STAGEDIR}${PREFIX}/bin)
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Bib2HTML
(cd ${WRKSRC}/Bib2HTML && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Bib2HTML)
.include <bsd.port.mk>