head	1.16;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.15
	RELEASE_6_4_0:1.15
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.10
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2007.09.24.08.39.17;	author rafan;	state Exp;
branches;
next	1.14;

1.14
date	2006.06.27.03.58.53;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.14.14.51.05;	author naddy;	state Exp;
branches;
next	1.12;

1.12
date	2005.02.14.13.04.41;	author naddy;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.13.17.01.41;	author vanilla;	state Exp;
branches;
next	1.10;

1.10
date	2004.04.19.07.48.47;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2004.04.03.14.11.20;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.20.16.30.09;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.13.06.46.25;	author linimon;	state Exp;
branches;
next	1.6;

1.6
date	2003.11.21.03.09.41;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.31.00.22.56;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2002.08.09.16.47.55;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.29.09.39.59;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.22.18.19.36;	author sobomax;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.27.18.00.39;	author keith;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	zh Big5/GB-izedenscript (a4)
# Date created:		27 Nov, 2000
# Whom:			Jing-Tang Keith Jang <keith@@FreeBSD.org>
#
# $FreeBSD: head/chinese/enscript/Makefile 300895 2012-07-14 12:56:14Z beat $
#

CATEGORIES=	chinese

MAINTAINER=	rafan@@FreeBSD.org

RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm

PAPERSIZE=	a4
MASTERDIR=	${.CURDIR}/../../print/enscript-letter

EXTRA_PATCHES=	${.CURDIR}/files/patch-*
PLIST=		${WRKDIR}/pkg-plist
PKGMESSAGE=	${.CURDIR}/pkg-message

USE_GHOSTSCRIPT_RUN=	yes

post-patch:
	@@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
	@@${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist

post-install:
	@@${INSTALL_DATA} ${.CURDIR}/files/README.BIG5 ${PREFIX}/share/enscript
	@@${CAT} ${PKGMESSAGE}

.include "${MASTERDIR}/Makefile"
@


1.15
log
@Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gpl
since version 8.57. The leading ghostscript is the -gpl one.

Approved by:	portmgr (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Change to my FreeBSD.org email.

Approved by:	delphij (mentor)
@
text
@a22 8
pre-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
	@@${ECHO} ""
	@@${ECHO} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
	@@${ECHO} "      AFPL Postscript interpreter instead of GNU one"
	@@${ECHO} ""
.endif

@


1.13
log
@Don't duplicate bsd.port.mk.

PR:		77492
Submitted by:	Rong-En Fan <rafan@@infor.org>
@
text
@d10 1
a10 1
MAINTAINER=	rafan@@infor.org
@


1.12
log
@Fix slave port: don't use gmake.

Submitted by:	kris	(pointyhat)
@
text
@d35 1
a35 2
do-install:
	@@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
@


1.11
log
@Unbroken it, and assign MAINTAINER to submitter.

PR:		ports/66595
Submitted by:	Rong-En Fan <rafan_at_infor.org>
No Responsed:	keith@@
@
text
@d36 1
a36 1
	@@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
@


1.10
log
@These broken ports are scheduled for deletion on June 18 if they are
still broken at that time and no PRs have been submitted containing a fix.
@
text
@d10 4
a16 4
MAINTAINER=	keith@@FreeBSD.org

RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm

a21 4

BROKEN=		"Fails to patch"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2004-06-18
@


1.9
log
@BROKEN: Fails to patch
@
text
@d24 2
@


1.8
log
@Use the new ghostscript options.

Submitted by:	linimon
@
text
@d23 2
@


1.7
log
@Back out revision 1.6 which was committed by mistake; the change in
it was picked up by a spurious commit of mine to chinese/*/Makefile.
Sorry about that.  If anyone has had ghostscript dependency problems
while trying to install this port, please try it again now.
@
text
@d15 1
a15 8
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
GSPORT?=	print/ghostscript-afpl
.else
GSPORT?=	print/ghostscript-gnu
.endif

RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm \
		gs:${PORTSDIR}/${GSPORT}
d20 2
@


1.6
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d15 8
a22 1
RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm
a26 2

USE_GHOSTSCRIPT_RUN=	yes
@


1.5
log
@[PATCH] chinese/enscript: enable choose of ghostscript interpreter

	This patch allows the admin of the machine to choose either
	print/ghostscript-gnu or print/ghostscript-afp1

PR:		ports/54920
Submitted by:	Jens Rehsack <rehsack@@liwing.de>
@
text
@d15 1
a15 8
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
GSPORT?=	print/ghostscript-afpl
.else
GSPORT?=	print/ghostscript-gnu
.endif

RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm \
		gs:${PORTSDIR}/${GSPORT}
d20 2
@


1.4
log
@Reroute dependency on defunct chinese/ghostscript6 port and
redirect to print/ghostscript-gnu (see ports/39684)

Submitted by:	'make index' failing for a while
@
text
@d15 6
d22 1
a22 1
		gs:${PORTSDIR}/print/ghostscript-gnu
d27 8
@


1.3
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d16 1
a16 1
		${LOCALBASE}/share/ghostscript/CJK/CMap/ac13/cid2code.txt:${PORTSDIR}/chinese/ghostscript6
@


1.2
log
@Ports policy:

 Ensure that the master category is always matches name of the parent
 (category) directory. This is required for ORIGIN to function properly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/enscript/Makefile,v 1.1 2000/11/27 18:00:39 keith Exp $
d23 1
a23 1
	@@${ECHO} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
@


1.1
log
@Initial version.

This port adds Chinese support to enscript, which means it can convert
a BIG5/CNS plain text to a PS document, with all the fancy features
provided by enscript.  Unlike bg5ps, it can't manage GB yet, but it's
easy to add.  Another useful feature is with the ps2pdf and zh-ghostscript6,
it is now possible to generate font-embedded Chinese pdf document from
plain text on the fly, which also means platform-independent.

Due to some problems in the CMap files provided by Adobe, Eten-B5-H and
B5-H CMaps are unable to map correct ascii glyphs in TTFs.  BIG5 users
are suggested to use B5pc-H for the time being.

Maybe it's time to re-organize ports/chinese/* font relationships.
@
text
@d5 1
a5 1
# $FreeBSD$
d7 2
@

