Repair... Apparently, this port was broken since its inception, wow.

This commit is contained in:
espie 2000-04-21 19:15:07 +00:00
parent f80fa9e00b
commit 2961d5ee1a
2 changed files with 12 additions and 11 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:38:33 espie Exp $
# $OpenBSD: Makefile,v 1.8 2000/04/21 19:15:07 espie Exp $
DISTNAME= texi2html
PKGNAME= texi2html-1.52
CATEGORIES= textproc
NEED_VERSION= 1.191
FAKE=No
FAKE= Yes
MASTER_SITES= http://wwwcn.cern.ch/dci/texi2html/ \
ftp://ftp.scc.ru/pub/unix/
EXTRACT_SUFX= .shar.Z
@ -12,10 +12,10 @@ EXTRACT_SUFX= .shar.Z
MAINTAINER= angelos@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}
EXTRACT_CMD= gzcat
@ -25,10 +25,11 @@ EXTRACT_AFTER_ARGS= | ${SH}
NO_BUILD= yes
post-extract:
@cd ${WRKSRC}; split -l 1881 texi2html texi2html.
@cd ${WRKSRC} && sed -e '1,/__END__/d' <texi2html >texi2html.1
@cd ${WRKSRC} && sed -e '/both Perl and nroff/,$$d' <texi2html >texi2html.pl
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/texi2html.aa ${PREFIX}/bin/texi2html
${INSTALL_MAN} ${WRKDIR}/texi2html.ab ${PREFIX}/man/man1/${MAN1}
${INSTALL_SCRIPT} ${WRKDIR}/texi2html.pl ${PREFIX}/bin/texi2html
${INSTALL_MAN} ${WRKDIR}/texi2html.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- texi2html.aa.orig Wed Nov 5 15:07:06 1997
+++ texi2html.aa Wed Nov 5 15:08:37 1997
--- texi2html.pl.orig Wed Nov 5 15:07:06 1997
+++ texi2html.pl Wed Nov 5 15:08:37 1997
@@ -1,6 +1,4 @@
-#!/usr/local/bin/perl
-'di ';