openbsd-ports/fonts/zh-bg5pdf/Makefile

37 lines
686 B
Makefile
Raw Normal View History

2011-09-16 05:48:08 -04:00
# $OpenBSD: Makefile,v 1.3 2011/09/16 09:48:09 espie Exp $
2011-07-19 05:14:21 -04:00
SHARED_ONLY= Yes
COMMENT= convert Big5 encoded files to PDF
DISTNAME= bg5pdf-1.0.0
PKGNAME= zh-${DISTNAME}
2011-09-16 05:48:08 -04:00
REVISION= 11
2011-07-19 05:14:21 -04:00
CATEGORIES= fonts 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
WANTLIB += pdf z
MODULES= lang/python
2011-07-19 15:19:14 -04:00
RUN_DEPENDS= fonts/zh-taipeifonts
2011-07-19 05:14:21 -04:00
LIB_DEPENDS= print/pdflib
CONFIGURE_STYLE=none
WRKDIST= ${WRKDIR}/bg5pdf
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
perl -pi -e "s|/usr/bin/python|${MODPY_BIN}|" ${WRKSRC}/bg5pdf
.include <bsd.port.mk>