aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-03 15:16:56 +0800
committerrafan <rafan@FreeBSD.org>2006-12-03 15:16:56 +0800
commit14e611b40a6d5423139158fe9c79af47853e7063 (patch)
tree794ba7804a9ac038bef446558ac3a226f55ca2ac /chinese
parent016cf33ef0258d9b1f91de92ba66f7bf892ba624 (diff)
downloadfreebsd-ports-graphics-14e611b40a6d5423139158fe9c79af47853e7063.tar.gz
freebsd-ports-graphics-14e611b40a6d5423139158fe9c79af47853e7063.tar.zst
freebsd-ports-graphics-14e611b40a6d5423139158fe9c79af47853e7063.zip
- Remove bad MASTER_SITES
- Pass maintainership to submitter PR: ports/106218 Submitted by: chinsan
Diffstat (limited to 'chinese')
-rw-r--r--chinese/bg5pdf/Makefile13
-rw-r--r--chinese/bg5pdf/files/patch-aa8
-rw-r--r--chinese/bg5pdf/files/patch-ab6
-rw-r--r--chinese/bg5pdf/pkg-descr4
4 files changed, 9 insertions, 22 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile
index 87ae69a0926..b284e96d005 100644
--- a/chinese/bg5pdf/Makefile
+++ b/chinese/bg5pdf/Makefile
@@ -9,10 +9,10 @@ PORTNAME= bg5pdf
PORTVERSION= 1.0.0
PORTREVISION= 5
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@FreeBSD.org
+MAINTAINER= chinsan@FreeBSD.org
COMMENT= Convert Chinese-Big5 encoded files to PDF, using PDFlib
LIB_DEPENDS= pdf.8:${PORTSDIR}/print/pdflib
@@ -22,8 +22,11 @@ USE_PYTHON= yes
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 --git a/chinese/bg5pdf/files/patch-aa b/chinese/bg5pdf/files/patch-aa
deleted file mode 100644
index f16e3074ea5..00000000000
--- a/chinese/bg5pdf/files/patch-aa
+++ /dev/null
@@ -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 --git a/chinese/bg5pdf/files/patch-ab b/chinese/bg5pdf/files/patch-ab
deleted file mode 100644
index ff898e17963..00000000000
--- a/chinese/bg5pdf/files/patch-ab
+++ /dev/null
@@ -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 --git a/chinese/bg5pdf/pkg-descr b/chinese/bg5pdf/pkg-descr
index c9b6bb74a78..87549108d37 100644
--- a/chinese/bg5pdf/pkg-descr
+++ b/chinese/bg5pdf/pkg-descr
@@ -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/