head	1.22;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.3;
locks; strict;
comment	@# @;


1.22
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2011.05.02.12.44.28;	author makc;	state Exp;
branches;
next	1.20;

1.20
date	2009.05.31.09.19.09;	author hrs;	state Exp;
branches;
next	1.19;

1.19
date	2008.11.16.12.25.22;	author hrs;	state Exp;
branches;
next	1.18;

1.18
date	2008.03.23.16.44.02;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2007.08.04.11.40.43;	author gabor;	state Exp;
branches;
next	1.16;

1.16
date	2007.05.19.20.00.50;	author flz;	state Exp;
branches;
next	1.15;

1.15
date	2006.08.14.02.13.13;	author clsung;	state Exp;
branches;
next	1.14;

1.14
date	2006.03.15.18.21.22;	author garga;	state Exp;
branches;
next	1.13;

1.13
date	2006.02.20.20.33.54;	author hrs;	state Exp;
branches;
next	1.12;

1.12
date	2006.01.11.04.01.45;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2005.02.20.04.22.48;	author leeym;	state Exp;
branches;
next	1.10;

1.10
date	2005.01.13.00.20.26;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2004.12.18.16.51.33;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2004.08.02.02.35.54;	author ijliao;	state Exp;
branches;
next	1.7;

1.7
date	2004.07.08.15.04.10;	author eik;	state Exp;
branches;
next	1.6;

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

1.5
date	2003.02.21.11.06.31;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.25.11.59.05;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2002.08.04.07.58.20;	author clive;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.04.07.56.00;	author clive;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.03.19.32.54;	author clive;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Switch exporter over
@
text
@# New ports collection makefile for:	zh-xpdf
# Date created:		21 Avr 2002
# Whom:			chshen <statue@@freebsd.sinica.edu.tw>
#
# $FreeBSD: head/chinese/xpdf/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	xpdf
PORTVERSION=	3.02
PORTREVISION=	1
PORTEPOCH=	2
CATEGORIES=	chinese graphics print
MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/ \
		${MASTER_SITE_TEX_CTAN} \
		http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR=	support/xpdf
PKGNAMESUFFIX=	-zhfont
DISTFILES=	xpdf-chinese-simplified-2004-jul-27.tar.gz \
		xpdf-chinese-traditional-2004-jul-27.tar.gz

MAINTAINER=	hrs@@FreeBSD.org
COMMENT=	Chinese font support for xpdf

RUN_DEPENDS=	xpdf:${PORTSDIR}/graphics/xpdf \
		${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
		${FONTSDIR}/STHeiti-Regular:${PORTSDIR}/chinese/font-std \
		${FONTSDIR}/STSong-Light:${PORTSDIR}/chinese/font-std \
		${FONTSDIR}/MSung-Light:${PORTSDIR}/chinese/font-std

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
SUB_FILES=	dot.xpdfrc
SUB_LIST=	ADOBECMAPDIR=${ADOBECMAPDIR} \
		FONTSDIR=${FONTSDIR}
PLIST_SUB=	EXTRARC=${EXTRARC}
DATADIR=	${PREFIX}/share/xpdf

FONTSDIR=	${LOCALBASE}/share/fonts/std.zh_CN
EXTRARC=	${DATADIR}/chinese-traditional/dot.xpdfrc
ADOBECMAPDIR=	${LOCALBASE}/share/fonts/adobe-cmaps
SIMP_FILES=	Adobe-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap \
		ISO-2022-CN.unicodeMap README
TRAD_FILES=	Adobe-CNS1.cidToUnicode Big5.unicodeMap \
		Big5ascii.unicodeMap README

do-install:
	${MKDIR} ${DATADIR}/chinese-simplified
	cd ${WRKSRC}/xpdf-chinese-simplified \
		&& ${INSTALL_DATA} ${SIMP_FILES} ${DATADIR}/chinese-simplified
	${MKDIR} ${DATADIR}/chinese-traditional
	cd ${WRKSRC}/xpdf-chinese-traditional \
		&& ${INSTALL_DATA} ${TRAD_FILES} ${DATADIR}/chinese-traditional
	${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc ${DATADIR}/chinese-traditional

post-install:
	exec < ${LOCALBASE}/etc/xpdfrc; \
		${RM} -f ${LOCALBASE}/etc/xpdfrc; \
		( ${GREP} -v "${EXTRARC}"; \
		${ECHO_CMD} "include ${EXTRARC}" ) \
		> ${LOCALBASE}/etc/xpdfrc
	${CHOWN} ${SHAREOWN}:${SHAREGRP} ${LOCALBASE}/etc/xpdfrc
	${CHMOD} 0444 ${LOCALBASE}/etc/xpdfrc

.include <bsd.port.mk>
@


1.21
log
@Bump PORTREVISION after open-mofit update
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@japanese/font-std, chinese/font-std, and dependency fixups due
to it have been added.  These are to install standard fonts used in the
Ports Collection.  Currently they contain:

 std.ja_JP/Mincho
 std.ja_JP/Gothic
 std.ja_JP/Ryumin-Light
 std.ja_JP/GothicBBB-Medium
 std.zh_CN/STHeiti-Regular
 std.zh_CN/STSong-Light
 std.zh_CN/MSung-Light
 std.zh_CN/MHei-Medium

under ${PREFIX}/share/fonts/.  They are just symlinks to
corresponding font files.  The symlink names are based on popular
PostScript font names.

Applications should refer the font files via XLFD or fontconfig
first.  If they need a direct reference to the font file, please use
files in std.*/*.  This is because direct reference to a specific
font name in an application configuration file makes the maintenance
difficult when the font file name is changed, for example.
@
text
@d10 1
@


1.19
log
@- Install the localized xpdfrc separately and use "include"
  instead of directly modifying the original xpdfrc.
- Take maintainership.

Approved by:	dryice (maintainer)
@
text
@d10 1
a10 1
PORTEPOCH=	1
d25 3
a27 1
		${FONTSDIR}/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf
d37 1
a37 1
FONTSDIR=	${LOCALBASE}/share/fonts/TrueType
@


1.18
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d9 2
a10 2
PORTVERSION=	20040727
PORTREVISION=	4
d16 1
d20 2
a21 2
MAINTAINER=	dryice@@dryice.name
COMMENT=	Chinese xpdf font support
d23 1
a23 1
RUN_DEPENDS=	xpdf:${PORTSDIR}/graphics/xpdf\
d25 1
a25 1
		${LOCALBASE}/share/arphicttf/logo.gif:${PORTSDIR}/chinese/arphicttf
d30 4
a33 1
SUB_LIST=	ADOBECMAPDIR=${ADOBECMAPDIR}
d35 3
a41 1
ADOBECMAPDIR=	${LOCALBASE}/share/fonts/adobe-cmaps
d44 6
a49 8
	@@${MKDIR} ${DATADIR}/chinese-simplified
.for i in ${SIMP_FILES}
	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${DATADIR}/chinese-simplified
.endfor
	@@${MKDIR} ${DATADIR}/chinese-traditional
.for i in ${TRAD_FILES}
	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${DATADIR}/chinese-traditional
.endfor
d51 9
a59 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.17
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	3
a26 1
USE_X_PREFIX=	yes
@


1.16
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d48 1
a48 1
	@@${SETENV} PKG_PREFIX=${TARGETDIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.15
log
@- Respect DESTDIR

PR:		ports/101907
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:	maintainer (Dryice Liu)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.14
log
@- Fix MASTER_SITES

bsdchat.com is no longer available. Thanks for all their support!

PR:		ports/94459
Submitted by:	Dryice Liu <dryice@@dryice.name> (maintainer)
@
text
@d48 1
a48 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.13
log
@- Fix RUN_DEPENDS.
- Use SUB_FILES for doc.xpdfrc.
- Fix absolute pathnames in doc.xpdfrc.
- Bump PORTREVISION because of print/adobe-cmaps update.

Approved by:	dryice at dryice dot name (maintainer)
@
text
@d14 1
a14 1
		http://bsdchat.com/dist/dryice/
@


1.12
log
@[maintainer] change maintainer mail address

        I'm the maintainer(dryice@@liu.com.cn) of the following
	ports. Please help to change the maintainer mail address to
	dryice@@dryice.name. This new mail address has a RDNS record
	and will make the life easier. Thanks!

PR:		ports/91624
Submitted by:	Dryice Dong Liu <dryice@@dryice.name>
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
a23 1
		${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-CNS1-0:${PORTSDIR}/print/adobe-cmaps \
d29 3
d36 2
d47 1
a47 1
	${INSTALL_DATA} ${FILESDIR}/dot.xpdfrc ${DATADIR}/chinese-traditional
@


1.11
log
@- update chinese/arphicttf path in RUN_DEPENDS
- some minor cosmetic fixes

Noticed by:	kris
@
text
@d19 1
a19 1
MAINTAINER=	dryice@@liu.com.cn
@


1.10
log
@[maintainer update] 16 ports: add mirror MASTER_SITES

	Please add http://bsdchat.com/dist/dryice/ to the MASTER_SITES
	of the following ports. Thanks Clive Lin and bsdchat.com for
	the mirror space!

	chinese/xpdf
	deskutils/etask
	devel/cedet
	devel/ecb
	devel/eieio
	devel/ipython
	devel/kodos
	devel/semantic
	devel/xtla
	editors/speedbar
	editors/tree-widget
	games/emacs-chess
	net/tcping
	www/mod_scgi
	www/py-scgi
	www/quixote

PR:		ports/75743
Submitted by:	Dryice Liu <dryice@@liu.com.cn>
@
text
@d24 1
a24 1
		${LOCALBASE}/share/fonts/TrueType/arphic/logo.gif:${PORTSDIR}/chinese/arphicttf
d34 1
a34 1
	${MKDIR} ${PREFIX}/share/xpdf/chinese-simplified
d36 1
a36 1
	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${PREFIX}/share/xpdf/chinese-simplified
d38 1
a38 1
	${MKDIR} ${PREFIX}/share/xpdf/chinese-traditional
d40 1
a40 1
	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${PREFIX}/share/xpdf/chinese-traditional
d42 2
a43 2
	${INSTALL_DATA} ${FILESDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/chinese-traditional
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.9
log
@- Fix file permission change on xpdfrc
- Use DATADIR
- Fix removing of shared dir

PR:		ports/75176
Submitted by:	Dryice Liu <dryice@@liu.com.cn> (maintainer)
@
text
@d13 2
a14 1
		${MASTER_SITE_TEX_CTAN}
@


1.8
log
@- Upgrade to 20040727
- Change PORTVERSION convention. The xpdf language
  packages don't share version numbers with the main
  xpdf package. I didn't bump PORTEPOCH science
  20040727 is bigger than 3.00
- add chinese/arphicttf depends for PDF files without
  embedded fonts
- tabify Makefile
- fix pkg-plist for multi language users
- take maintainership. Thanks the previous maintainers!

PR:		69862
Submitted by:	Dryice Liu <dryice@@hotpop.com> (new maintainer)
@
text
@d10 1
@


1.7
log
@update to 3.00:
  <http://lists.freebsd.org/pipermail/freebsd-ports/2004-July/014104.html>

Submitted by:	cnshaolin@@gmail.com
@
text
@d9 1
a9 2
PORTVERSION=	3.00
PORTREVISION=	0
d12 1
a12 1
                ${MASTER_SITE_TEX_CTAN}
d14 2
a15 2
DISTFILES=	xpdf-chinese-simplified-2004-jan-16.tar.gz \
		xpdf-chinese-traditional-2004-jan-16.tar.gz
d17 2
a18 2
MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Chinese-traditional xpdf font support
d21 2
a22 1
		${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-CNS1-0:${PORTSDIR}/print/adobe-cmaps
@


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
@d9 1
a9 1
PORTVERSION=	2.00
d11 6
a16 4
CATEGORIES=	chinese
MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/
DISTFILES=	xpdf-chinese-simplified-2002-jun-17.tar.gz \
		xpdf-chinese-traditional-2002-apr-14.tar.gz
d26 1
a26 1
WRKSRC=		${WRKDIR}
@


1.5
log
@De-pkg-comment.
@
text
@d16 1
a16 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.4
log
@Upgrade to 2.00

Approved by:	maintainer
@
text
@d17 1
@


1.3
log
@My fault, previous commit log is wrong. This is actually PR 41303.

PR:		ports/41303
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d9 2
a10 2
PORTVERSION=	1.01
PORTREVISION=	1
d13 2
a14 1
DISTFILES=	xpdf-chinese-simplified.tar.gz xpdf-chinese-traditional.tar.gz
@


1.2
log
@Add simplified Chinese support.

PR:		ports/41295
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@@


1.1
log
@New port: zh-xpdf. This port enables xpdf to read chinese-traditional pdf.

PR: ports/39361
Submitted by: Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d10 1
d13 1
a13 1
DISTNAME=	xpdf-chinese-traditional
d22 4
a25 1
INSTALL_FILES=	Adobe-CNS1.cidToUnicode Big5.unicodeMap \
d28 4
d33 2
a34 2
.for i in ${INSTALL_FILES}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/xpdf/chinese-traditional
@

