forked from Lainports/freebsd-ports
- fix fetch with this update [1] - also install bib2xml and Italina Lang file - update WWW PR: ports/96585 Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: bib2html
|
|
# Date created: Jan 5, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bib2html
|
|
DISTVERSION= 4.1-1
|
|
CATEGORIES= textproc print
|
|
MASTER_SITES= http://www.arakhne.org/IMG/gz/ \
|
|
http://fresh.t-systems-sfr.com/fresh/unix/src/privat2/
|
|
DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The BibTeX to HTML Translator
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-4.1/src
|
|
|
|
USE_PERL5_RUN= yes
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
@${SED} -e 's:= "$$0";:= "${SITE_PERL}/Bib2HTML";:g' \
|
|
< ${WRKSRC}/bib2html.pl > ${WRKSRC}/bib2html
|
|
@${SED} -e 's:= "$$0";:= "${SITE_PERL}/Bib2HTML";:g' \
|
|
< ${WRKSRC}/bib2xml.pl > ${WRKSRC}/bib2xml
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bib2html ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bib2xml ${PREFIX}/bin
|
|
@${MKDIR} ${SITE_PERL}/Bib2HTML
|
|
@cd ${WRKSRC}/Bib2HTML && ${FIND} . | \
|
|
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${SITE_PERL}/Bib2HTML
|
|
${FIND} ${SITE_PERL}/Bib2HTML -type f | ${XARGS} ${CHMOD} ${LIBMODE}
|
|
${FIND} ${SITE_PERL}/Bib2HTML -type d | ${XARGS} ${CHMOD} a+rx
|
|
|
|
.include <bsd.port.mk>
|