# New ports collection makefile for:	zh-mkisofs
# Date created:			19 Oct 2000
# Whom:				Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD: ports/chinese/mkisofs/Makefile,v 1.3 2003/02/26 14:23:41 foxfair Exp $
#

PORTNAME=	mkisofs
PORTVERSION=	1.12b5
CATEGORIES=	chinese sysutils
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/keith/

PATCH_SITES=	ftp://freebsd.sinica.edu.tw/pub/keith/
PATCHFILES=	mkisofs-1.12b5.big5patch.gz

MAINTAINER=	keith@FreeBSD.org
COMMENT=	Create ISO9660/JOLIET/Rock Ridge filesystems, Big5 compatible

GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
ALL_TARGET=	World
MAN8=		mkisofs.8 isoinfo.8

pre-configure:
	${REINPLACE_CMD} -e 's:prefix = /usr/local:prefix = ${PREFIX}:' \
		${WRKSRC}/diag/Makefile.in

post-build:
	cd ${WRKSRC}/diag && make

post-install:
	cd ${WRKSRC}/diag && make install

.include <bsd.port.mk>
