# Created by: Daisuke Kawahara # $FreeBSD: head/japanese/e2ps/Makefile 402704 2015-11-30 21:41:06Z amdmi3 $ PORTNAME= e2ps PORTVERSION= 4.34 CATEGORIES= japanese print MASTER_SITES= http://wtpage.info/sources/ MAINTAINER= CQG00620@nifty.ne.jp COMMENT= Text file to postscript converter (with Japanese support) USES= tar:bzip2 DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PLIST_FILES= bin/e2ps bin/e2lpr PORTDOCS= README.euc README.english OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e '/Times-Roman$$/,/^Gothic-Medium.Katakana$$/{s,$$,\\,;}' ${WRKSRC}/ps-font.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/e2ps ${STAGEDIR}${PREFIX}/bin ${LN} -sf ${PREFIX}/bin/e2ps ${STAGEDIR}${PREFIX}/bin/e2lpr @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include