freebsd-ports/chinese/big5con/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

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