blob: 1a8bab80201a04899ca08c97c9300cff26af3a87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: ijliao
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
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>
|