openbsd-ports/chinese/bg5pdf/Makefile

39 lines
834 B
Makefile
Raw Normal View History

2009-03-11 07:03:17 -04:00
# $OpenBSD: Makefile,v 1.15 2009/03/11 11:03:17 espie Exp $
2006-06-05 13:33:14 -04:00
SHARED_ONLY= Yes
COMMENT= convert Big5 encoded files to PDF
DISTNAME= bg5pdf-1.0.0
2009-03-11 07:03:17 -04:00
PKGNAME= zh-${DISTNAME}p3
CATEGORIES= chinese print
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# 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
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} \
::chinese/taipeifonts
LIB_DEPENDS= pdf.>=2::print/pdflib
WRKDIST= ${WRKDIR}/bg5pdf
2006-06-05 13:33:14 -04:00
PYTHON_VER= 2.4
SUBST_VARS= PYTHON_VER
MAKE_ENV= PYTHON_VER=${PYTHON_VER}
2002-10-24 19:52:29 -04:00
NO_REGRESS= Yes
pre-configure:
perl -pi -e \
"s|/usr/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
${WRKSRC}/bg5pdf
.include <bsd.port.mk>