mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
eda0a4444f
PR: 205222 Submitted by: tkato432 yahoo com Sponsored by: Absolight
39 lines
861 B
Makefile
39 lines
861 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bib2html
|
|
DISTVERSION= 6.7
|
|
CATEGORIES= textproc print
|
|
MASTER_SITES= TEX_CTAN/biblio/bibtex/utils
|
|
DISTNAME= bib2ml
|
|
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= BibTeX to HTML Translator
|
|
|
|
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
|
|
|
|
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>
|