mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
7ff680cc04
Source: distfile survey
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: gb2ps
|
|
# Date created: Mon Feb 03, 1997
|
|
# Whom: David O'Brien (obrien@FreeBSD.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gb2ps
|
|
PORTVERSION= 2.02
|
|
CATEGORIES= chinese print
|
|
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/print/:sw \
|
|
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/fonts/gb/misc/:font
|
|
DISTNAME= gb2ps.2.02
|
|
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
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Converts Chinese GB (simple) encoded text to PostScript
|
|
|
|
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
|
|
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|