ports/134638: [PATCH] chinese/cnprint: [SUMMARIZE CHANGES]

Chun-Chung Yang chunchung at cs.nctu.edu.tw
Mon May 18 08:20:03 UTC 2009


>Number:         134638
>Category:       ports
>Synopsis:       [PATCH] chinese/cnprint: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 18 08:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Chun-Chung Yang
>Release:        FreeBSD 6.4-RELEASE i386
>Organization:
NCTU CS
>Environment:
System: FreeBSD tbsd2 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Thu Dec 11 20:51:31 CST 2008
>Description:
[DESCRIBE CHANGES]

Port maintainer (lwhsu at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- cnprint-3.30b_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/cnprint/Makefile /tmp/cnprint/Makefile
--- /usr/ports/chinese/cnprint/Makefile	2009-05-17 03:03:59.000000000 +0800
+++ /tmp/cnprint/Makefile	2009-05-16 02:51:04.000000000 +0800
@@ -2,11 +2,12 @@
 # Date created:		29 Jan 2003
 # Whom:			Shen Chuan-Hsing <statue at freebsd.sinica.edu.tw>
 #
-# $FreeBSD: ports/chinese/cnprint/Makefile,v 1.11 2009/05/16 15:07:22 chinsan Exp $
+# $FreeBSD: ports/chinese/cnprint/Makefile,v 1.10 2006/12/03 10:50:22 rafan Exp $
 #
 
 PORTNAME=	cnprint
 PORTVERSION=	3.30b
+PORTREVISION=	1
 CATEGORIES=	chinese print
 MASTER_SITES=	http://ftp.wustl.edu/pub/FreeBSD/distfiles/${PORTNAME}-${PORTVERSION}/ \
 		http://ftp.yz.yamagata-u.ac.jp/pub/FreeBSD/distfiles/${PORTNAME}-${PORTVERSION}/ \
@@ -16,13 +17,16 @@
 		mshei.ttf.gz mshei.htf cc48s.hbf cc48.sym.gz cc48s.1.gz \
 		cc48s.2.gz hbf.tar.gz ntu_kai48.hbf ntu_kai48.bin.gz
 
-MAINTAINER=	lwhsu at FreeBSD.org
+MAINTAINER=	chinsan at FreeBSD.org
 COMMENT=	Print CJK text (or convert to PostScript)
 
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 FILES=		${WRKSRC}/*.sym ${WRKSRC}/*.htf ${WRKSRC}/*.hbf \
 		${WRKSRC}/*.bin ${WRKSRC}/*.ttf
 
+OPTIONS=	A4SIZE  "Set A4 (not Letter) as a default paper size" on
+.include <bsd.port.pre.mk>
+
 do-extract:
 	${MKDIR} ${WRKSRC}
 .for i in ${DISTFILES}
@@ -39,6 +43,10 @@
 	@${REINPLACE_CMD} -e 's/\(DEFAULT_JIS_FONT\):.*$$/\1: kanji48.hbf/; \
 		s/\(DEFAULT_BIG5FONT\):.*$$/\1: ntu_kai48.hbf/; \
 		s/\(DEFAULT_ENCODING\):.*$$/\1: BIG5/' ${WRKSRC}/cnprint33.cmd
+.if	defined(WITH_A4SIZE)
+	@${REINPLACE_CMD} -e 's/\(DEFAULT_PAPERSIZE\):.*$$/\1: 8.27 11.69/' \
+		${WRKSRC}/cnprint33.cmd
+.endif
 
 do-build:
 	cd ${WRKSRC} ; \
@@ -50,4 +58,4 @@
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}33.cmd  ${DATADIR}/${PORTNAME}.cmd
 	${INSTALL_DATA} ${FILES} ${DATADIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- cnprint-3.30b_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list