2002-04-07 22:30:23 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2002/04/07 22:30:23 matt Exp $
|
2001-03-26 03:49:10 +00:00
|
|
|
|
|
|
|
COMMENT= "convert Big5/GB encoded files to postscript"
|
2001-01-21 15:11:33 +00:00
|
|
|
|
|
|
|
DISTNAME= bg5ps-1.3.0
|
|
|
|
PKGNAME= zh-${DISTNAME}
|
|
|
|
CATEGORIES= chinese x11
|
2002-03-21 20:35:40 +00:00
|
|
|
NEED_VERSION= 1.515
|
2001-01-21 15:11:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2001-12-23 11:32:08 +00:00
|
|
|
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ \
|
|
|
|
ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/bg5ps/
|
2001-01-21 15:11:33 +00:00
|
|
|
|
2002-04-07 22:30:23 +00:00
|
|
|
PYTHON_VER= 2.1
|
2001-10-24 12:10:24 +00:00
|
|
|
RUN_DEPENDS= ::chinese/arphicttf \
|
2002-04-07 22:30:23 +00:00
|
|
|
:python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2001-04-18 02:59:18 +00:00
|
|
|
LIB_DEPENDS= ttf.1::print/freetype
|
2001-01-21 15:11:33 +00:00
|
|
|
|
2002-04-07 22:30:23 +00:00
|
|
|
post-patch:
|
|
|
|
perl -pi -e \
|
|
|
|
"s|/usr/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
|
|
|
${WRKSRC}/bg5ps
|
|
|
|
|
2001-01-21 15:11:33 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/bg5ps
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bg5ps
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bg5ps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/lib/bg5ps
|
|
|
|
cp -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/bg5ps
|
|
|
|
cp -R ${WRKSRC}/examples/* ${PREFIX}/share/examples/bg5ps
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|