FreeBSD Bugzilla – Attachment 114151 Details for
Bug 155791
Update port: print/c2ps-letter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.82 KB, created by
tkato432
on 2011-03-22 18:20:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2011-03-22 18:20:02 UTC
Size:
2.82 KB
patch
obsolete
>diff -urN /usr/ports/print/c2ps-letter/Makefile print/c2ps-letter/Makefile >--- /usr/ports/print/c2ps-letter/Makefile 2011-03-14 21:05:09.000000000 +0900 >+++ print/c2ps-letter/Makefile 2011-03-22 17:45:41.000000000 +0900 >@@ -7,6 +7,7 @@ > > PORTNAME= c2ps-${PAPERSIZE} > PORTVERSION= 4.0 >+PORTREVISION= 1 > CATEGORIES= print > MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/ > DISTNAME= c2ps-${PORTVERSION} >@@ -14,20 +15,23 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= A PostScript pretty-printer for C source > >-DEPRECATED= Upstream disapear and distfile is no more available >-EXPIRATION_DATE= 2011-05-01 >+MAKE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ >+ DEFAULT_PAPER_TYPE="${PS}" > > MAN1= c2ps.1 > PLIST_FILES= bin/c2ps >-MAKE_ENV= DEFAULT_PAPER_TYPE=${PS} > > PAPERSIZE?= letter > PS!= echo ${PAPERSIZE} | awk '{print toupper($$1)}' >-.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter >+.if ${PAPERSIZE:L} != a4 && ${PAPERSIZE:L} != letter > .BEGIN: >- @${ECHO} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\"" >- @${ECHO} "Possible values are: a4, and letter." >+ @${ECHO_MSG} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\"" >+ @${ECHO_MSG} "Possible values are: a4, and letter." > @${FALSE} > .endif > >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/c2ps ${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/c2ps.1 ${MANPREFIX}/man/man1 >+ > .include <bsd.port.mk> >diff -urN /usr/ports/print/c2ps-letter/files/patch-aa print/c2ps-letter/files/patch-aa >--- /usr/ports/print/c2ps-letter/files/patch-aa 1998-02-25 21:03:37.000000000 +0900 >+++ print/c2ps-letter/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 >@@ -1,35 +0,0 @@ >---- Makefile.orig Thu May 15 11:50:56 1997 >-+++ Makefile Thu Nov 20 22:06:51 1997 >-@@ -2,10 +2,7 @@ >- # Last modified: Sat Apr 19 1997 >- >- RM = rm -f >--CC = gcc >--CCFLAGS = -O >- >--PREFIX = /usr/local >- BIN = $(PREFIX)/bin >- MAN = $(PREFIX)/man/man1 >- >-@@ -20,8 +17,6 @@ >- FUNCTION_FONT = \"Bookman-LightItalic\" >- >- COMMENT_DIMMING_DEGREE = 0.75 >--DEFAULT_PAPER_TYPE = A4 >--# possible values are A4 and LETTER >- >- >- #___You don't need to change anything below__________________ >-@@ -39,10 +34,10 @@ >- install: bininstall maninstall >- >- bininstall: c2ps >-- install -m 755 c2ps $(BIN) >-+ $(BSD_INSTALL_PROGRAM) c2ps $(BIN) >- >- maninstall: c2ps.1 >-- install -m 644 c2ps.1 $(MAN) >-+ $(BSD_INSTALL_MAN) c2ps.1 $(MAN) >- >- compile: c2ps.c >- $(CC) $(PREP_OPTIONS) $(CCFLAGS) -o c2ps c2ps.c >diff -urN /usr/ports/print/c2ps-letter/pkg-descr print/c2ps-letter/pkg-descr >--- /usr/ports/print/c2ps-letter/pkg-descr 2009-12-21 15:57:03.000000000 +0900 >+++ print/c2ps-letter/pkg-descr 2011-03-22 17:37:59.000000000 +0900 >@@ -3,4 +3,4 @@ > Released under the GPL by Dmitri Shtilman <dash@vision10.technion.ac.il> > and Dmitri Makarov <dimm@vnet.ibm.com>. > >-WWW: http://www.geocities.com/SiliconValley/Park/2055/ >+WWW: http://www.cs.technion.ac.il/users/c2ps/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155791
: 114151