Approved by:	portmgr@ (blanket)
This commit is contained in:
Vanilla I. Shu 2014-07-07 13:28:13 +00:00
parent 776a2caed6
commit 2c67b137b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361082
3 changed files with 11 additions and 29 deletions

View file

@ -11,9 +11,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= joerg@FreeBSD.org MAINTAINER= joerg@FreeBSD.org
COMMENT= Convert HTML document into LaTeX COMMENT= Convert HTML document into LaTeX
MAN1= html2latex.1 PLIST_FILES= bin/html2latex man/man1/html2latex.1.gz
MANCOMPRESSED= yes
PLIST_FILES= bin/html2latex
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
--- Makefile.orig Fri Mar 29 17:18:06 1996 --- Makefile.orig 2014-07-07 21:24:49.187066431 +0800
+++ Makefile Fri Mar 29 17:22:06 1996 +++ Makefile 2014-07-07 21:24:52.234066984 +0800
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
@ -9,16 +9,17 @@
# For testing: # For testing:
# CC = gcc # CC = gcc
# For Sun's and other non-at-least-pseudo-ANSI-C platforms: # For Sun's and other non-at-least-pseudo-ANSI-C platforms:
@@ -12,7 +12,7 @@ @@ -12,20 +12,21 @@ CC = cc
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# For SGI's: # For SGI's:
-CFLAGS = -g -cckr -DXMOSAIC -DNEED_GETOPT_H -CFLAGS = -g -cckr -DXMOSAIC
+# CFLAGS = -g -cckr -DXMOSAIC -DNEED_GETOPT_H +# CFLAGS = -g -cckr -DXMOSAIC -DNEED_GETOPT_H
# For testing: # For testing:
# CFLAGS = -g -Wall -DXMOSAIC -DNEED_GETOPT_H -# CFLAGS = -g -Wall -DXMOSAIC
+# CFLAGS = -g -Wall -DXMOSAIC -DNEED_GETOPT_H
# For HP's: # For HP's:
@@ -20,12 +20,13 @@ # CFLAGS = -g -DXMOSAIC -I/usr/include/Motif1.1 -I/usr/include/X11R4
# For everyone else: # For everyone else:
# CFLAGS = -g -DXMOSAIC # CFLAGS = -g -DXMOSAIC
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
@ -34,7 +35,7 @@
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# You shouldn't need to edit below here. # You shouldn't need to edit below here.
@@ -55,3 +56,10 @@ @@ -55,3 +56,10 @@ $(OBJS): HTMLparse.h
clean: clean:
-rm $(EXETARGET) $(OBJS) $(LIBTARGET) $(DOCTARGET) -rm $(EXETARGET) $(OBJS) $(LIBTARGET) $(DOCTARGET)
@ -42,6 +43,6 @@
+PREFIX?= /usr/local +PREFIX?= /usr/local
+ +
+install: all +install: all
+ install -c -s $(EXETARGET) $(PREFIX)/bin + install -c -s $(EXETARGET) $(DESTDIR)$(PREFIX)/bin
+ gzip -c < html2latex.1 > html2latex.1.gz + gzip -c < html2latex.1 > html2latex.1.gz
+ install -c html2latex.1.gz $(PREFIX)/man/man1 + install -c html2latex.1.gz $(DESTDIR)$(PREFIX)/man/man1

View file

@ -33,22 +33,6 @@ diff -u ../html2latex-0.9c.old/HTMLparse.h ./HTMLparse.h
} mark_t; } mark_t;
/* amperstand escapes */ /* amperstand escapes */
diff -u ../html2latex-0.9c.old/Makefile ./Makefile
--- ../html2latex-0.9c.old/Makefile Fri Mar 19 05:02:36 1993
+++ ./Makefile Fri Mar 29 16:40:56 1996
@@ -12,9 +12,9 @@
# ----------------------------------------------------------------------------
# For SGI's:
-CFLAGS = -g -cckr -DXMOSAIC
+CFLAGS = -g -cckr -DXMOSAIC -DNEED_GETOPT_H
# For testing:
-# CFLAGS = -g -Wall -DXMOSAIC
+# CFLAGS = -g -Wall -DXMOSAIC -DNEED_GETOPT_H
# For HP's:
# CFLAGS = -g -DXMOSAIC -I/usr/include/Motif1.1 -I/usr/include/X11R4
# For everyone else:
Only in .: diff
diff -u ../html2latex-0.9c.old/html2latex.c ./html2latex.c diff -u ../html2latex-0.9c.old/html2latex.c ./html2latex.c
--- ../html2latex-0.9c.old/html2latex.c Wed Jun 16 05:55:10 1993 --- ../html2latex-0.9c.old/html2latex.c Wed Jun 16 05:55:10 1993
+++ ./html2latex.c Fri Mar 29 16:41:17 1996 +++ ./html2latex.c Fri Mar 29 16:41:17 1996