1997-02-08 00:18:56 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gb2ps
|
|
|
|
# Date created: Mon Feb 03, 1997
|
|
|
|
# Whom: David O'Brien (obrien@FreeBSD.org)
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1997-02-08 00:18:56 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:23 +00:00
|
|
|
PORTNAME= gb2ps
|
|
|
|
PORTVERSION= 2.02
|
1997-11-03 21:07:12 +00:00
|
|
|
CATEGORIES= chinese print
|
2005-10-06 06:36:26 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/print/:sw \
|
2005-10-04 22:31:27 +00:00
|
|
|
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/fonts/gb/misc/:font
|
2000-04-13 08:28:23 +00:00
|
|
|
DISTNAME= gb2ps.2.02
|
2005-10-04 22:31:27 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz:sw \
|
|
|
|
csong24.ccf.gz:font ckai24.ccf.gz:font cfang24.ccf.gz:font \
|
|
|
|
chei24.ccf.gz:font cfan24.ccf.gz:font
|
1997-02-08 00:18:56 +00:00
|
|
|
|
2002-11-05 03:38:57 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Converts Chinese GB (simple) encoded text to PostScript
|
1997-02-08 00:18:56 +00:00
|
|
|
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/GB2PS
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/chinese/gb
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gb2ps ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cover.ps ${PREFIX}/share/chinese
|
|
|
|
.for font in csong24.ccf ckai24.ccf cfang24.ccf chei24.ccf cfan24.ccf
|
|
|
|
${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${PREFIX}/share/chinese/gb/${font}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gb2ps
|
2001-12-21 06:34:27 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
|
1997-02-08 00:18:56 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|