- Use python 2.3
- Replace spaces with tabs - Add license marker - Bump PKGNAME spotted by naddy@, ok kevlo@
This commit is contained in:
parent
e63ddc3a78
commit
259da97130
@ -1,21 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2004/11/21 21:51:36 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2005/05/20 06:03:28 alek Exp $
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
COMMENT= "convert Big5 encoded files to PDF"
|
||||
|
||||
DISTNAME= bg5pdf-1.0.0
|
||||
PKGNAME= zh-${DISTNAME}
|
||||
CATEGORIES= chinese print
|
||||
DISTNAME= bg5pdf-1.0.0
|
||||
PKGNAME= zh-${DISTNAME}p0
|
||||
CATEGORIES= chinese print
|
||||
|
||||
HOMEPAGE= http://cschin.yydolphin.net/bg5pdf/
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
PERMIT_DISTFILES_CDROM= No
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= No
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
# GPL + Aladdin license
|
||||
PERMIT_DISTFILES_CDROM= No
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= No
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
WANTLIB= z
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
@ -27,10 +28,15 @@ LIB_DEPENDS= pdf.2::print/pdflib
|
||||
|
||||
WRKDIST= ${WRKDIR}/bg5pdf
|
||||
|
||||
PYTHON_VER= 2.1
|
||||
PYTHON_VER= 2.3
|
||||
SUBST_VARS= PYTHON_VER
|
||||
MAKE_ENV= PYTHON_VER=${PYTHON_VER}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-patch:
|
||||
perl -pi -e \
|
||||
"s|/usr/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
||||
${WRKSRC}/bg5pdf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,8 +0,0 @@
|
||||
--- bg5pdf.orig Fri Dec 14 16:51:19 2001
|
||||
+++ bg5pdf Fri Dec 14 16:51:29 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env /usr/bin/python
|
||||
+#!/usr/bin/env /usr/local/bin/python
|
||||
|
||||
"""
|
||||
Bg5pdf is a simple wrapper for wrapping big5 encoding text file into
|
@ -1,23 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2004/11/21 21:51:36 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2005/05/20 06:06:25 alek Exp $
|
||||
|
||||
COMMENT= "convert Big5/GB encoded files to postscript"
|
||||
|
||||
DISTNAME= bg5ps-1.3.0
|
||||
PKGNAME= zh-${DISTNAME}
|
||||
CATEGORIES= chinese x11
|
||||
DISTNAME= bg5ps-1.3.0
|
||||
PKGNAME= zh-${DISTNAME}p0
|
||||
CATEGORIES= chinese x11
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
WANTLIB= c m
|
||||
|
||||
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ \
|
||||
ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/bg5ps/
|
||||
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
|
||||
|
||||
PYTHON_VER= 2.1
|
||||
PYTHON_VER= 2.3
|
||||
RUN_DEPENDS= ::chinese/arphicttf \
|
||||
:python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
LIB_DEPENDS= ttf.1::print/freetype
|
||||
|
Loading…
Reference in New Issue
Block a user