2005-05-20 02:03:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2005/05/20 06:03:28 alek Exp $
|
2004-02-12 10:07:07 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2001-12-14 10:33:00 -05:00
|
|
|
|
|
|
|
COMMENT= "convert Big5 encoded files to PDF"
|
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
DISTNAME= bg5pdf-1.0.0
|
|
|
|
PKGNAME= zh-${DISTNAME}p0
|
|
|
|
CATEGORIES= chinese print
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2003-11-10 00:47:42 -05:00
|
|
|
HOMEPAGE= http://cschin.yydolphin.net/bg5pdf/
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
# GPL + Aladdin license
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2004-11-21 16:51:36 -05:00
|
|
|
WANTLIB= z
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2003-11-10 00:47:42 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2002-02-15 14:53:42 -05:00
|
|
|
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2004-06-26 03:35:05 -04:00
|
|
|
RUN_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} \
|
2001-12-14 10:33:00 -05:00
|
|
|
::chinese/taipeifonts
|
|
|
|
LIB_DEPENDS= pdf.2::print/pdflib
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/bg5pdf
|
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
PYTHON_VER= 2.3
|
2001-12-14 10:33:00 -05:00
|
|
|
SUBST_VARS= PYTHON_VER
|
|
|
|
MAKE_ENV= PYTHON_VER=${PYTHON_VER}
|
|
|
|
|
2002-10-24 19:52:29 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
post-patch:
|
|
|
|
perl -pi -e \
|
|
|
|
"s|/usr/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
|
|
|
${WRKSRC}/bg5pdf
|
|
|
|
|
2001-12-14 10:33:00 -05:00
|
|
|
.include <bsd.port.mk>
|