View | Details | Raw Unified | Return to bug 106218
Collapse All | Expand All

(-)/usr/home/chinsan/project/bg5pdf/Makefile (-6 / +9 lines)
Lines 7-18 Link Here
7
7
8
PORTNAME=	bg5pdf
8
PORTNAME=	bg5pdf
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.0
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	chinese print
11
CATEGORIES=	chinese print
12
MASTER_SITES=	http://cschin.yydolphin.net/bg5pdf/ \
12
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/ \
13
		ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/
13
		LOCAL/chinsan
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	chinsan@FreeBSD.org
16
COMMENT=	Convert Chinese-Big5 encoded files to PDF, using PDFlib
16
COMMENT=	Convert Chinese-Big5 encoded files to PDF, using PDFlib
17
17
18
LIB_DEPENDS=	pdf.8:${PORTSDIR}/print/pdflib
18
LIB_DEPENDS=	pdf.8:${PORTSDIR}/print/pdflib
Lines 22-29 Link Here
22
WRKSRC=		${WRKDIR}/${PORTNAME}
22
WRKSRC=		${WRKDIR}/${PORTNAME}
23
23
24
post-patch:
24
post-patch:
25
	${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \
25
	${REINPLACE_CMD} -e 's,/usr/bin/python,python,g'  ${WRKSRC}/bg5pdf
26
		${WRKSRC}/Makefile
26
27
do-build:
28
	${CC} ${CFLAGS} -shared ${WRKSRC}/bg5pdflib.c -I${PREFIX}/include \
29
		-I${PYTHON_INCLUDEDIR} -L${PREFIX}/lib -lpdf -o ${WRKSRC}/bg5pdflib.so
27
30
28
do-install:
31
do-install:
29
	@${MKDIR} ${EXAMPLESDIR}
32
	@${MKDIR} ${EXAMPLESDIR}
(-)/usr/home/chinsan/project/bg5pdf/files/patch-aa (-8 lines)
Lines 1-8 Link Here
1
--- bg5pdf.orig	Mon Dec  3 06:53:10 2001
2
+++ bg5pdf	Mon Dec  3 06:53:19 2001
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/env /usr/bin/python
5
+#!/usr/bin/env python
6
 
7
 """
8
 Bg5pdf is a simple wrapper for wrapping big5 encoding text file into
(-)/usr/home/chinsan/project/bg5pdf/files/patch-ab (-6 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Sat Mar 30 23:01:25 2002
2
+++ Makefile	Sat Mar 30 23:01:40 2002
3
@@ -0,0 +1,3 @@
4
+all:
5
+	${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I%%PYTHON_INCLUDEDIR%% -L/usr/local/lib -lpdf -o bg5pdflib.so
6
+
(-)/usr/home/chinsan/project/bg5pdf/pkg-descr (-3 / +1 lines)
Lines 1-9 Link Here
1
Bg5pdf is a simple wrapper for wrapping big5 encoding text file into
1
bg5pdf is a simple wrapper for wrapping Big5 encoding text file into
2
PDF file by using PDFlib. The output of this program does not contain
2
PDF file by using PDFlib. The output of this program does not contain
3
embedding fonts.  You have to download Acrobat Acroread Asianfont pack
3
embedding fonts.  You have to download Acrobat Acroread Asianfont pack
4
to view and print the output file.  This wrapper does not provide any
4
to view and print the output file.  This wrapper does not provide any
5
formatting function except simple line wrapping.  If you need
5
formatting function except simple line wrapping.  If you need
6
sophisticated formatting, you should try CJK-LaTex or other equivalent
6
sophisticated formatting, you should try CJK-LaTex or other equivalent
7
tools.
7
tools.
8
9
WWW: http://cschin.yydolphin.net/bg5pdf/

Return to bug 106218