Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 13:28:13 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361082 - in head/print/html2latex: . files
Message-ID:  <201407071328.s67DSD5k082213@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul  7 13:28:13 2014
New Revision: 361082
URL: http://svnweb.freebsd.org/changeset/ports/361082
QAT: https://qat.redports.org/buildarchive/r361082/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket)

Added:
  head/print/html2latex/files/patch-Makefile   (contents, props changed)
Deleted:
  head/print/html2latex/files/patch-ab
Modified:
  head/print/html2latex/Makefile
  head/print/html2latex/files/patch-aa

Modified: head/print/html2latex/Makefile
==============================================================================
--- head/print/html2latex/Makefile	Mon Jul  7 13:27:06 2014	(r361081)
+++ head/print/html2latex/Makefile	Mon Jul  7 13:28:13 2014	(r361082)
@@ -11,9 +11,6 @@ EXTRACT_SUFX=	.tar.Z
 MAINTAINER=	joerg@FreeBSD.org
 COMMENT=	Convert HTML document into LaTeX
 
-MAN1=		html2latex.1
-MANCOMPRESSED=	yes
-PLIST_FILES=	bin/html2latex
+PLIST_FILES=	bin/html2latex man/man1/html2latex.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/print/html2latex/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/html2latex/files/patch-Makefile	Mon Jul  7 13:28:13 2014	(r361082)
@@ -0,0 +1,48 @@
+--- Makefile.orig	2014-07-07 21:24:49.187066431 +0800
++++ Makefile	2014-07-07 21:24:52.234066984 +0800
+@@ -3,7 +3,7 @@
+ 
+ # ----------------------------------------------------------------------------
+ # For normal machines with normal compilers:
+-CC = cc
++# CC = cc
+ # For testing:
+ # CC = gcc
+ # For Sun's and other non-at-least-pseudo-ANSI-C platforms:
+@@ -12,20 +12,21 @@ CC = cc
+ 
+ # ----------------------------------------------------------------------------
+ # 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:
+ # CFLAGS = -g -DXMOSAIC
+ # ----------------------------------------------------------------------------
++CFLAGS+= -DXMOSAIC
+ 
+ # ----------------------------------------------------------------------------
+ # For SGI's:
+-RANLIB = /bin/true
++# RANLIB = /bin/true
+ # For everyone else:
+-# RANLIB = ranlib
++RANLIB = ranlib
+ # ----------------------------------------------------------------------------
+ 
+ # You shouldn't need to edit below here.
+@@ -55,3 +56,10 @@ $(OBJS): HTMLparse.h
+ 
+ clean:
+ 	-rm $(EXETARGET) $(OBJS) $(LIBTARGET) $(DOCTARGET)
++
++PREFIX?=	/usr/local
++
++install: all
++	install -c -s $(EXETARGET) $(DESTDIR)$(PREFIX)/bin
++	gzip -c < html2latex.1 > html2latex.1.gz
++	install -c html2latex.1.gz $(DESTDIR)$(PREFIX)/man/man1

Modified: head/print/html2latex/files/patch-aa
==============================================================================
--- head/print/html2latex/files/patch-aa	Mon Jul  7 13:27:06 2014	(r361081)
+++ head/print/html2latex/files/patch-aa	Mon Jul  7 13:28:13 2014	(r361082)
@@ -33,22 +33,6 @@ diff -u ../html2latex-0.9c.old/HTMLparse
    } mark_t;
  
  /* 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
 --- ../html2latex-0.9c.old/html2latex.c	Wed Jun 16 05:55:10 1993
 +++ ./html2latex.c	Fri Mar 29 16:41:17 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407071328.s67DSD5k082213>