ports/106218: [PATCH] chinese/bg5pdf: [SUMMARIZE CHANGES], take maintainership
chinsan
chinsan at FreeBSD.org
Sat Dec 2 14:50:29 UTC 2006
>Number: 106218
>Category: ports
>Synopsis: [PATCH] chinese/bg5pdf: [SUMMARIZE CHANGES], take maintainership
>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: Sat Dec 02 14:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 2 16:44:35 CST
>Description:
- Remove bad MASTER_SITES
- Take maintainership
Removed file(s):
- files/patch-aa
- files/patch-ab
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- bg5pdf-1.0.0_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/Makefile /usr/home/chinsan/project/bg5pdf/Makefile
--- /usr/ports/chinese/bg5pdf/Makefile Tue Oct 10 06:06:22 2006
+++ /usr/home/chinsan/project/bg5pdf/Makefile Sat Dec 2 22:40:13 2006
@@ -7,12 +7,12 @@
PORTNAME= bg5pdf
PORTVERSION= 1.0.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= chinese print
-MASTER_SITES= http://cschin.yydolphin.net/bg5pdf/ \
- ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/ \
+ LOCAL/chinsan
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= chinsan at FreeBSD.org
COMMENT= Convert Chinese-Big5 encoded files to PDF, using PDFlib
LIB_DEPENDS= pdf.8:${PORTSDIR}/print/pdflib
@@ -22,8 +22,11 @@
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- ${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \
- ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's,/usr/bin/python,python,g' ${WRKSRC}/bg5pdf
+
+do-build:
+ ${CC} ${CFLAGS} -shared ${WRKSRC}/bg5pdflib.c -I${PREFIX}/include \
+ -I${PYTHON_INCLUDEDIR} -L${PREFIX}/lib -lpdf -o ${WRKSRC}/bg5pdflib.so
do-install:
@${MKDIR} ${EXAMPLESDIR}
diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/files/patch-aa /usr/home/chinsan/project/bg5pdf/files/patch-aa
--- /usr/ports/chinese/bg5pdf/files/patch-aa Thu Feb 21 15:42:17 2002
+++ /usr/home/chinsan/project/bg5pdf/files/patch-aa Thu Jan 1 08:00:00 1970
@@ -1,8 +0,0 @@
---- bg5pdf.orig Mon Dec 3 06:53:10 2001
-+++ bg5pdf Mon Dec 3 06:53:19 2001
-@@ -1,4 +1,4 @@
--#!/usr/bin/env /usr/bin/python
-+#!/usr/bin/env python
-
- """
- Bg5pdf is a simple wrapper for wrapping big5 encoding text file into
diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/files/patch-ab /usr/home/chinsan/project/bg5pdf/files/patch-ab
--- /usr/ports/chinese/bg5pdf/files/patch-ab Sun Nov 9 22:18:38 2003
+++ /usr/home/chinsan/project/bg5pdf/files/patch-ab Thu Jan 1 08:00:00 1970
@@ -1,6 +0,0 @@
---- Makefile.orig Sat Mar 30 23:01:25 2002
-+++ Makefile Sat Mar 30 23:01:40 2002
-@@ -0,0 +1,3 @@
-+all:
-+ ${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I%%PYTHON_INCLUDEDIR%% -L/usr/local/lib -lpdf -o bg5pdflib.so
-+
diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/pkg-descr /usr/home/chinsan/project/bg5pdf/pkg-descr
--- /usr/ports/chinese/bg5pdf/pkg-descr Sat Nov 8 20:10:25 2003
+++ /usr/home/chinsan/project/bg5pdf/pkg-descr Sat Dec 2 21:36:46 2006
@@ -1,9 +1,7 @@
-Bg5pdf is a simple wrapper for wrapping big5 encoding text file into
+bg5pdf is a simple wrapper for wrapping Big5 encoding text file into
PDF file by using PDFlib. The output of this program does not contain
embedding fonts. You have to download Acrobat Acroread Asianfont pack
to view and print the output file. This wrapper does not provide any
formatting function except simple line wrapping. If you need
sophisticated formatting, you should try CJK-LaTex or other equivalent
tools.
-
-WWW: http://cschin.yydolphin.net/bg5pdf/
--- bg5pdf-1.0.0_6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list