1997-02-16 02:14:03 +01:00
|
|
|
# New ports collection makefile for: big5con
|
|
|
|
# Date created: 07 Jan 1997
|
|
|
|
# Whom: Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw>
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1997-02-16 02:14:03 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 10:28:23 +02:00
|
|
|
PORTNAME= big5con
|
|
|
|
PORTVERSION= 0.92e
|
2001-06-22 19:41:48 +02:00
|
|
|
PORTREVISION= 1
|
1997-02-16 02:14:03 +01:00
|
|
|
CATEGORIES= chinese
|
2001-11-09 04:21:52 +01:00
|
|
|
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/pub/taiwan/NTU/woju/source/ \
|
1998-10-07 19:57:50 +02:00
|
|
|
ftp://freebsd.csie.nctu.edu.tw/pub/taiwan/NTU/woju/binary/
|
1999-02-12 17:39:39 +01:00
|
|
|
DISTFILES= big5con-0.92e.tgz b5cbin-pa.tgz
|
1997-02-16 02:14:03 +01:00
|
|
|
|
1998-10-07 19:57:50 +02:00
|
|
|
MAINTAINER= woju@freebsd.ee.ntu.edu.tw
|
1998-09-27 02:00:24 +02:00
|
|
|
|
1999-01-06 06:00:26 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-10-08 17:29:41 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tgz
|
|
|
|
|
|
|
|
# With the help from pa@freebsd.ee.ntu.edu.tw
|
1999-02-12 17:39:39 +01:00
|
|
|
# +0.92d use kc-fonts, whcih can be included in cdrom, instead of taipei-fonts.
|
1998-10-08 17:29:41 +02:00
|
|
|
# Note: 0.92c is restricted due to the taipei-fonts-copyright.
|
1999-02-12 17:39:39 +01:00
|
|
|
#
|
|
|
|
# 1999/02/12: 0.92d -> 0.92e
|
|
|
|
# Fix some bugs
|
|
|
|
# ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/b5c-d2e.patch
|
1997-02-16 02:14:03 +01:00
|
|
|
|
2000-12-01 05:29:28 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
|
|
.if ${OSVERSION} > 500012
|
2001-01-07 18:49:52 +01:00
|
|
|
@${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/*
|
2000-12-01 05:29:28 +01:00
|
|
|
.endif
|
1998-10-07 19:57:50 +02:00
|
|
|
pre-install:
|
1998-10-08 17:29:41 +02:00
|
|
|
@if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \
|
|
|
|
tar xvfzp ${DISTDIR}/b5cbin-pa.tgz -C ${PREFIX}; \
|
1998-10-07 19:57:50 +02:00
|
|
|
fi
|
1997-02-16 02:14:03 +01:00
|
|
|
|
|
|
|
post-install:
|
1999-08-27 23:14:04 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-02-16 02:14:03 +01:00
|
|
|
|
2000-12-01 05:29:28 +01:00
|
|
|
.include <bsd.port.post.mk>
|