head	1.18;
access;
symbols
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.14
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1;
locks; strict;
comment	@# @;


1.18
date	2011.09.01.06.47.44;	author bapt;	state dead;
branches;
next	1.17;

1.17
date	2011.08.02.17.03.51;	author bapt;	state Exp;
branches;
next	1.16;

1.16
date	2009.06.13.20.27.30;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2009.01.08.23.19.13;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2008.04.19.17.47.01;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2007.05.19.20.00.45;	author flz;	state Exp;
branches;
next	1.12;

1.12
date	2006.09.05.00.07.45;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2006.04.01.12.44.57;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2005.07.25.21.58.07;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2005.01.08.15.50.03;	author sem;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.21.03.09.42;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.17.12.28.51;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.11.06.29;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2003.01.18.20.22.25;	author clive;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.03.06.26.57;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.28.16.37.31;	author lioux;	state Exp;
branches;
next	1.2;

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

1.1
date	2002.05.24.16.26.13;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.18
log
@2011-09-01 astro/gkrellmoon: Abandonware
2011-09-01 astro/spacechart: Abandonware
2011-09-01 audio/adpcm: No more public distfiles
2011-09-01 audio/aube: Abandonware
2011-09-01 audio/festvox-aec: BROKEN for more than 6 month
2011-09-01 audio/gtkgep: Abandonware
2011-09-01 audio/gtkhirad: No more public distfiles
2011-09-01 audio/opmixer: No more upstream
2011-09-01 audio/swami: Abandonware
2011-09-01 audio/x11amp: Abandonware
2011-09-01 audio/xmms-sndstretch: No Master Site
2011-09-01 cad/linux-gid: No more public distfiles
2011-09-01 chinese/gbscript: No more public distfiles
2011-09-01 chinese/mplayer-fonts: No more public distfiles
2011-09-01 chinese/oxford: No more public distfiles
2011-09-01 chinese/vflib: No more public distfiles
2011-09-01 databases/mysql++: No more public distfiles
2011-09-01 databases/mysql_last_value: No Master Site
2011-09-01 databases/p5-DBIx-Table: No more public distfiles
@
text
@# New ports collection makefile for:	zh-mplayer-fonts
# Date created:		17 June 2002
# Whom:			Hye-Shik Chang
#
# $FreeBSD: ports/chinese/mplayer-fonts/Makefile,v 1.17 2011/08/02 17:03:51 bapt Exp $

PORTNAME=	mplayer-fonts
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	chinese multimedia
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/mplayer/
DISTFILES=	${SUBFONT_DISTNAME}.tar.bz2 \
		mplayer-fontmap-chinese.tar.bz2
EXTRACT_ONLY=	${SUBFONT_DISTNAME}.tar.bz2 mplayer-fontmap-chinese.tar.bz2

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A chinese font pack for the mplayer OSD and SUB

DEPRECATED=	No more public distfiles
EXPIRATION_DATE=	2011-09-01

BUILD_DEPENDS=	${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/converters/libiconv \
		${FREETYPE_CONFIG}:${PORTSDIR}/print/freetype2 \
		${ARPHIC_FONTDIR}/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf \
		${NONEXISTENT}:${PORTSDIR}/x11-fonts/webfonts:build \
		cabextract:${PORTSDIR}/archivers/cabextract

USE_BZIP2=	yes
WRKSRC=		${WRKDIR}/${SUBFONT_DISTNAME}
PLIST_SUB+=	MF=${MPLAYER_FONTDIR:S,${LOCALBASE}/,,g}
PKGMESSAGE=	${WRKDIR}/pkg-message
SUB_FILES=	pkg-message

SUBFONT_DISTNAME=	subfont-c-0.90pre6
MPLAYER_FONTDIR=	${LOCALBASE}/share/mplayer/fonts/chinese
FREETYPE_CONFIG=	${LOCALBASE}/bin/freetype-config

ARPHIC_FONTDIR=	${LOCALBASE}/lib/X11/fonts/TrueType
ARPHIC_FONTS_BIG5=	bkai00mp bsmi00lp
ARPHIC_FONTS_GB2312=	gbsn00lp gkai00mp
ALL_FONTS=		${ARPHIC_FONTS_BIG5} ${ARPHIC_FONTS_GB2312}
FONT_SIZES=		16 24
WEBFONTS_WRKSRC=	`cd ${PORTSDIR}/x11-fonts/webfonts/; make -V WRKSRC`

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" && ${OSVERSION} >= 800000
BROKEN=		segfaults during build
.endif

post-extract:
.for fn in ${ALL_FONTS}
	@@${LN} -sf ${ARPHIC_FONTDIR}/${fn}.ttf ${WRKSRC}/
.endfor
	@@${LN} -sf ${WRKDIR}/BIG5 ${WRKSRC}/encodings/
	@@${LN} -sf ${WRKDIR}/GB2312 ${WRKSRC}/encodings/
	@@${LN} -sf ${WEBFONTS_WRKSRC}/arial.ttf ${WRKSRC}/

pre-patch:
	@@${ECHO_CMD} -e 'LDFLAGS=-lm `${FREETYPE_CONFIG} --libs` -liconv \
		-L${LOCALBASE}/lib\nCFLAGS=`${FREETYPE_CONFIG} --cflags` \
		-I${LOCALBASE}/include\nPROG=subfont\nNOMAN=yes\
		\n.include <bsd.prog.mk>' > ${WRKSRC}/Makefile

post-build:
.for font in ${ARPHIC_FONTS_BIG5}
.for size in ${FONT_SIZES}
	cd ${WRKSRC} && ${SH} runme-dbcs ${font} ${size} BIG5 2> /dev/null
.endfor
.endfor
.for font in ${ARPHIC_FONTS_GB2312}
.for size in ${FONT_SIZES}
	cd ${WRKSRC} && ${SH} runme-dbcs ${font} ${size} GB2312 2> /dev/null
.endfor
.endfor

do-install:
	@@${MKDIR} ${MPLAYER_FONTDIR}
.for font in ${ALL_FONTS}
.for size in ${FONT_SIZES}
	@@${TAR} -C ${WRKSRC} -cpf - ${font}${size} | \
	 ${TAR} -C ${MPLAYER_FONTDIR} -xpf -
.endfor
.endfor

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.17
log
@Deprecate some ports where I can't find distfiles and upstream
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Broken on amd64/8

Reported by:	pointyhat
@
text
@d19 3
@


1.15
log
@- :build targets need to use ${NONEXISTENT} for their depobj
@
text
@d42 6
d86 1
a86 1
.include <bsd.port.mk>
@


1.14
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d22 1
a22 1
		arial.ttf:${PORTSDIR}/x11-fonts/webfonts:build \
@


1.13
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d35 1
a35 1
ARPHIC_FONTDIR=	${X11BASE}/lib/X11/fonts/TrueType
@


1.12
log
@Add missing dependency to fix package build
@
text
@d9 1
@


1.11
log
@Use SUB_FILES
@
text
@d21 2
a22 1
		arial.ttf:${PORTSDIR}/x11-fonts/webfonts:build
@


1.10
log
@Reset bouncing maintainer address.  These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
@
text
@d26 2
@


1.9
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.8
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 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.7
log
@USE_REINPLACE need be defined only when REINPLACE_CMD is used.
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.6
log
@De-pkg-comment.
@
text
@a23 1
USE_REINPLACE=	yes
@


1.5
log
@Add support for non-standard WRKDIRPREFIX, which is commonly seen
on FreeBSD clusters with only one nfs mounted, read only ports tree.

The functionality of supporting non-standard WRKDIRPREFIX is just
supported in ordinary port, but not in port which crosses referenced
other port's WRKSRC during the build. This commit fixes it.

Reviewed by:	statue@@freebsd.sinica.edu.tw (MAINTAINER)
@
text
@d16 1
@


1.4
log
@- generate fonts from chinese/arphicttf and x11-fonts/webfonts
- change categories from graphics to multimedia
- remove unused master sites

PR:		46018
Submitted by:	maintainer
@
text
@d36 1
d44 1
a44 1
	@@${LN} -sf ${PORTSDIR}/x11-fonts/webfonts/work/webfonts-0.21/arial.ttf ${WRKSRC}/
@


1.3
log
@After repo copy from graphics category, update all appropriate
dependency references from both audio and graphics to multimedia
category.

audio/xmms			-->	multimedia/xmms
graphics/avifile		-->	multimedia/avifile
graphics/divx4linux		-->	multimedia/divx4linux
graphics/ffmpeg			-->	multimedia/ffmpeg
graphics/libdv			-->	multimedia/libdv
graphics/libdvdcss		-->	multimedia/libdvdcss
graphics/libdvdread		-->	multimedia/libdvdread
graphics/libmpeg2		-->	multimedia/libmpeg2
graphics/linux-realplayer	-->	multimedia/linux-realplayer
graphics/mjpegtools		-->	multimedia/mjpegtools
graphics/mplayer		-->	multimedia/mplayer
graphics/mplayer-fonts		-->	multimedia/mplayer-fonts
graphics/openquicktime		-->	multimedia/openquicktime
graphics/win32-codecs		-->	multimedia/win32-codecs

Repo copied by:		joe (cvs hat)
Approved by:		knu (portmgr hat)
@
text
@d1 3
a3 3
# New ports collection makefile for:	mplayer-fonts
# Date created:		15 August 2001
# Whom:			Thomas E. Zander
a5 1
#
d8 1
a8 1
PORTVERSION=	0.50
d10 4
a13 4
MASTER_SITES=	ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/chinesefonts/ \
		ftp://freebsd.sinica.edu.tw/pub/statue/mplayer/
DISTFILES=	big5-kai.tar.bz big5-ming.tar.bz \
		gb2312-kai.tar.bz gb2312-ming.tar.bz
d17 4
a20 1
RUN_DEPENDS=	${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/multimedia/mplayer-fonts
d23 39
a61 6
NO_BUILD=	yes

FONTDIRS=	big5-kai/bkai00mp16 big5-kai/bkai00mp24 \
		big5-ming/bsmi00lp16 big5-ming/bsmi00lp24 \
		gb2312-kai/gkai00mp16 gb2312-kai/gkai00mp24 \
		gb2312-ming/gbsn00lp16 gb2312-ming/gbsn00lp24
d64 5
a68 7
	@@${MKDIR} ${PREFIX}/share/mplayer/fonts
	@@${CHMOD} 0555 ${PREFIX}/share/mplayer/fonts
.for dir in ${FONTDIRS}
	@@${MKDIR} ${PREFIX}/share/mplayer/fonts/${dir}
	@@${CHMOD} 0555 ${PREFIX}/share/mplayer/fonts/${dir}
	@@${INSTALL_DATA} ${WRKDIR}/${dir}/* \
		${PREFIX}/share/mplayer/fonts/${dir}
d70 4
@


1.2
log
@Add a proper dependency.
@
text
@d10 1
a10 1
CATEGORIES=	chinese graphics
d18 1
a18 1
RUN_DEPENDS=	${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/graphics/mplayer-fonts
@


1.1
log
@add zh-mplayer-fonts 0.5
A chinese font pack for the mplayer OSD and SUB

PR:		38515
Submitted by:	Statue <statue@@softwareliberty.org>
@
text
@d18 2
@

