2009-03-11 07:03:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2009/03/11 11:03:17 espie Exp $
|
2004-02-12 10:07:07 -05:00
|
|
|
|
2006-06-05 13:33:14 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2007-09-15 17:36:57 -04:00
|
|
|
COMMENT= convert Big5 encoded files to PDF
|
2001-12-14 10:33:00 -05:00
|
|
|
|
2005-05-20 02:03:28 -04:00
|
|
|
DISTNAME= bg5pdf-1.0.0
|
2009-03-11 07:03:17 -04:00
|
|
|
PKGNAME= zh-${DISTNAME}p3
|
2005-05-20 02:03:28 -04:00
|
|
|
CATEGORIES= chinese print
|
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
|
|
|
|
2009-03-11 07:03:17 -04:00
|
|
|
BUILD_DEPENDS= :python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER}
|
|
|
|
RUN_DEPENDS= :python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER} \
|
2001-12-14 10:33:00 -05:00
|
|
|
::chinese/taipeifonts
|
2006-08-01 12:20:46 -04:00
|
|
|
LIB_DEPENDS= pdf.>=2::print/pdflib
|
2001-12-14 10:33:00 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/bg5pdf
|
|
|
|
|
2006-06-05 13:33:14 -04:00
|
|
|
PYTHON_VER= 2.4
|
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
|
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2005-05-20 02:03:28 -04:00
|
|
|
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>
|