head	1.18;
access;
symbols
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.8
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.6
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.2;
locks; strict;
comment	@# @;


1.18
date	2007.03.14.10.28.18;	author miwi;	state dead;
branches;
next	1.17;

1.17
date	2007.02.14.06.46.39;	author rafan;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.14.05.32.24;	author clsung;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.03.23.38.31;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2005.07.25.21.58.04;	author linimon;	state Exp;
branches;
next	1.13;

1.13
date	2005.01.08.15.50.00;	author sem;	state Exp;
branches;
next	1.12;

1.12
date	2003.12.06.05.55.23;	author vanilla;	state Exp;
branches;
next	1.11;

1.11
date	2003.11.21.03.09.40;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.31.02.52.02;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.26.17.07.24;	author leeym;	state Exp;
branches;
next	1.8;

1.8
date	2003.03.01.11.51.09;	author clive;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.26.14.23.39;	author foxfair;	state Exp;
branches;
next	1.6;

1.6
date	2002.02.21.17.09.06;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.22.14.26.16;	author keith;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.12.16.43.06;	author keith;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.28.17.44.25;	author keith;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.06.18.14.40;	author keith;	state Exp;
branches;
next	1.1;

1.1
date	2000.10.20.15.31.06;	author kevlo;	state Exp;
branches;
next	;


desc
@@


1.18
log
@2007-03-14 chinese/big5fs: Use mount_cd9660(8), mount_msdosfs(8), or mount_ntfs(8) instead
2007-03-14 chinese/gbfs: Use mount_cd9660(8), mount_msdosfs(8), or mount_ntfs(8) instead
@
text
@# New ports collection makefile for:    zh-big5fs
# Date created:         Oct 13, 2000
# Whom:                 keith@@FreeBSD.org
#
# $FreeBSD: ports/chinese/big5fs/Makefile,v 1.17 2007/02/14 06:46:39 rafan Exp $
#

PORTNAME=	big5fs
PORTVERSION=	2.3
CATEGORIES=	chinese
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/big5fs/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Reads Big5 filenames on Joliet, VFAT and NTFS filesystems

NO_PACKAGE=	Different versions definitely cause crash

SYSDIR=		${DESTDIR}/usr/src/sys
KMODDIR=	${TARGETDIR}/modules
PLIST_SUB=	MSDOSFSKO=${MSDOSFSKO}
NO_WRKSUBDIR=	yes

DEPRECATED=	Use mount_cd9660(8), mount_msdosfs(8), or mount_ntfs(8) instead
EXPIRATION_DATE=	2007-03-14

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000 && ${OSVERSION} < 501109
MSDOSFSDIR=	${SYSDIR}/fs/msdosfs
MSDOSFSKO=	msdosfs.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdosfs
NTFSDIR=	${SYSDIR}/fs/ntfs
NTFSPATCH=	ntfs_big5.diff.5
.elif ${OSVERSION} >= 501109
IGNORE=		is obsolete. See mount_cd9660(8), mount_msdosfs(8) or mount_ntfs(8)
.else
MSDOSFSDIR=	${SYSDIR}/msdosfs
MSDOSFSKO=	msdos.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdos
NTFSDIR=	${SYSDIR}/ntfs
NTFSPATCH=	ntfs_big5.diff.440001
.endif

.if !exists (${SYSDIR})
IGNORE=		need to extract kernel source tree before you build this package
.endif

do-extract:
	@@${MKDIR} ${WRKSRC}/msdos ${WRKSRC}/cd9660 ${WRKSRC}/ntfs
	@@${CP} -r ${MSDOSFSDIR}/* ${MSDOSFSKODIR}/Makefile ${WRKSRC}/msdos
	@@${CP} -r ${SYSDIR}/isofs/cd9660/* ${SYSDIR}/modules/cd9660/Makefile ${WRKSRC}/cd9660
	@@${CP} -r ${NTFSDIR}/* ${SYSDIR}/modules/ntfs/Makefile ${WRKSRC}/ntfs
	@@(cd ${WRKSRC}; ${TAR} xzf ${DISTDIR}/${DISTFILES} )
	@@${REINPLACE_CMD} -e "/^\.PATH/d" ${WRKSRC}/*/Makefile
.if ${OSVERSION} > 500041
	@@${REINPLACE_CMD} -e 's/ __P(\(.*\))/\1/g' ${WRKSRC}/*.diff
.endif

do-patch:
	@@(cd ${WRKSRC}/msdos; ${PATCH} --quiet < ${WRKSRC}/msdos_big5.diff )
	@@(cd ${WRKSRC}/cd9660; ${PATCH} --quiet < ${WRKSRC}/cd9660_big5.diff )
	@@(cd ${WRKSRC}/ntfs; ${PATCH} --quiet < ${WRKSRC}/${NTFSPATCH} )
	@@${REINPLACE_CMD} -e 's,<isofs/cd9660/iso.h>,"iso.h",g' ${WRKSRC}/cd9660/*.c
	@@${REINPLACE_CMD} -Ee 's,<(fs/)?ntfs/ntfs_subr.h>,"ntfs_subr.h",g' ${WRKSRC}/ntfs/*.c

do-build:
	@@(cd ${WRKSRC}/msdos; make all)
	@@(cd ${WRKSRC}/cd9660; make all)
	@@(cd ${WRKSRC}/ntfs; make all)

do-install:
	@@${MKDIR} ${KMODDIR}
	@@${INSTALL_SCRIPT} ${FILESDIR}/big5fs.sh ${TARGETDIR}/etc/rc.d
	@@${INSTALL_SCRIPT} ${WRKSRC}/*/*.ko ${KMODDIR}

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


1.17
log
@- It has been marked as IGNORE on 5.x and above for more than 3 years.
  Schedule to remove in one month.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Respect DESTDIR
- portlint fix

PR:		ports/101904
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d23 3
@


1.15
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d16 1
a16 1
NO_PACKAGE=	"Different versions definitely cause crash"
d18 2
a19 2
SYSDIR=		/usr/src/sys
KMODDIR=	${PREFIX}/modules
d42 1
a42 1
IGNORE=	"You need to extract kernel source tree before you build this package"
d70 1
a70 1
	@@${INSTALL_SCRIPT} ${FILESDIR}/big5fs.sh ${PREFIX}/etc/rc.d
@


1.14
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
@a20 1
USE_REINPLACE=	yes
@


1.13
log
@- Pass maintainership to submitter

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


1.12
log
@obsolete after 501109.

Submitted by:	"R. Imura" <imura@@ryu16.org>
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.11
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
@d26 1
a26 1
.if ${OSVERSION} >= 500000
d32 2
@


1.10
log
@Add -r to ${CP} to cope with source trees checked out with CVS
@
text
@d13 1
a13 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.9
log
@o assign maintainership
o update to 2.3

PR:		53737
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d46 3
a48 3
	@@${CP} ${MSDOSFSDIR}/* ${MSDOSFSKODIR}/Makefile ${WRKSRC}/msdos
	@@${CP} ${SYSDIR}/isofs/cd9660/* ${SYSDIR}/modules/cd9660/Makefile ${WRKSRC}/cd9660
	@@${CP} ${NTFSDIR}/* ${SYSDIR}/modules/ntfs/Makefile ${WRKSRC}/ntfs
@


1.8
log
@Unbreak this port by de __P when needed.
I guess the magic number is about 500041, since it's not documented.
@
text
@d8 15
a22 13
PORTNAME=		big5fs
PORTVERSION=		2.2
CATEGORIES=		chinese
MASTER_SITES=		ftp://freebsd.csie.ntu.edu.tw/pub/users/rafan/

MAINTAINER=		keith@@FreeBSD.org
COMMENT=		Reads Big5 filenames on Joliet, VFAT and NTFS filesystems

NO_PACKAGE=		"Different versions definitely cause crash"

SYSDIR=			/usr/src/sys
KMODDIR=		${PREFIX}/modules
PLIST_SUB=		MSDOSFSKO=${MSDOSFSKO}
d26 6
a31 17
.if ${OSVERSION} > 500027
WITHOUT_NTFS=		yes
MSDOSFSDIR=		${SYSDIR}/fs/msdosfs
MSDOSFSKO=		msdosfs.ko
MSDOSFSKODIR=		${SYSDIR}/modules/msdosfs
.elif ${OSVERSION} > 500018 && ${OSVERSION} < 500027
MSDOSFSDIR=		${SYSDIR}/fs/msdosfs
MSDOSFSKO=		msdosfs.ko
MSDOSFSKODIR=		${SYSDIR}/modules/msdosfs
NTFSDIR=		${SYSDIR}/fs/ntfs
NTFSPATCH=		ntfs_big5.diff.440000
.elif ${OSVERSION} <= 500018 && ${OSVERSION} < 440001
MSDOSFSDIR=		${SYSDIR}/msdosfs
MSDOSFSKO=		msdos.ko
MSDOSFSKODIR=		${SYSDIR}/modules/msdos
NTFSDIR=		${SYSDIR}/ntfs
NTFSPATCH=		ntfs_big5.diff.440000
d33 5
a37 5
MSDOSFSDIR=		${SYSDIR}/msdosfs
MSDOSFSKO=		msdos.ko
MSDOSFSKODIR=		${SYSDIR}/modules/msdos
NTFSDIR=		${SYSDIR}/ntfs
NTFSPATCH=		ntfs_big5.diff.440001
d40 2
a41 12
.if defined(WITHOUT_NTFS)
PLIST_SUB+=             NTFSKMOD="@@comment "
.else
PLIST_SUB+=             NTFSKMOD=""
.endif

.if defined(WITHOUT_NTFS)
pre-everything::
	@@${ECHO_MSG}
	@@${ECHO_MSG} "NTFS big5 patch is broken on this version."
	@@${ECHO_MSG} "I will NOT build and install NTFS big5fs."
	@@${ECHO_MSG}
a43 9
pre-extract:
	@@if [ ! -d /sys -o ! -d /usr/src/sys ]; then \
		${ECHO} "****************************************" ; \
		${ECHO} " You need to extract kernel source tree" ; \
		${ECHO} " before you build this package..." ; \
		${ECHO} "****************************************" ; \
		${FALSE} ; \
	fi

d45 6
a50 11
	@@${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660
	@@${CP} -R ${MSDOSFSDIR}/*.[ch] ${WRKDIR}/msdos
	@@${CP} ${MSDOSFSKODIR}/Makefile ${WRKDIR}/msdos/Makefile.orig
	@@${CP} -R ${SYSDIR}/isofs/cd9660/*.[ch] ${WRKDIR}/cd9660
	@@${CP} ${SYSDIR}/modules/cd9660/Makefile ${WRKDIR}/cd9660/Makefile.orig
.if !defined(WITHOUT_NTFS)
		@@${MKDIR} ${WRKDIR}/ntfs
		@@${CP} -R ${NTFSDIR}/*.[ch] ${WRKDIR}/ntfs
		@@${CP} ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs/Makefile.orig
.endif
	@@(cd ${WRKDIR}; ${TAR} xzf ${DISTDIR}/${DISTFILES} )
d52 1
a52 5
# Guess a number when FreeBSD finished de __P
	@@(cd ${WRKDIR}; ${CP} cd9660_big5.diff cd9660_big5.diff.orig; \
			${CP} msdos_big5.diff msdos_big5.diff.orig; \
	${SED} -e 's/ __P(\(.*\))/\1/' msdos_big5.diff.orig > msdos_big5.diff; \
	${SED} -e 's/ __P(\(.*\))/\1/' cd9660_big5.diff.orig > cd9660_big5.diff)
a53 1
	@@${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},' ${FILESDIR}/big5fs.sh > ${WRKDIR}/big5fs.sh
d56 5
a60 8
	@@${SED} -e "/^\.PATH/d" ${WRKDIR}/msdos/Makefile.orig > ${WRKDIR}/msdos/Makefile
	@@(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/msdos_big5.diff )
	@@${SED} -e "/^\.PATH/d" ${WRKDIR}/cd9660/Makefile.orig > ${WRKDIR}/cd9660/Makefile
	@@(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/cd9660_big5.diff )
.if !defined(WITHOUT_NTFS)
	@@${SED} -e "/^\.PATH/d" ${WRKDIR}/ntfs/Makefile.orig > ${WRKDIR}/ntfs/Makefile
	@@(cd ${WRKDIR}/ntfs; ${PATCH} --quiet < ${WRKDIR}/${NTFSPATCH} )
.endif
d63 3
a65 5
	@@(cd ${WRKDIR}/msdos; make all)
	@@(cd ${WRKDIR}/cd9660; make all)
.if !defined(WITHOUT_NTFS)
	@@(cd ${WRKDIR}/ntfs; make all)
.endif
d67 1
a67 1
pre-install:
d69 2
a70 8

do-install:
	@@${INSTALL_SCRIPT} ${WRKDIR}/big5fs.sh ${PREFIX}/etc/rc.d
	@@${INSTALL_SCRIPT} ${WRKDIR}/msdos/${MSDOSFSKO} ${KMODDIR}/${MSDOSFSKO}
	@@${INSTALL_SCRIPT} ${WRKDIR}/cd9660/cd9660.ko ${KMODDIR}/cd9660.ko
.if !defined(WITHOUT_NTFS)
	@@${INSTALL_SCRIPT} ${WRKDIR}/ntfs/ntfs.ko ${KMODDIR}/ntfs.ko
.endif
@


1.7
log
@pkg-comment police: Purge them in this category while I'm here.
@
text
@d84 7
@


1.6
log
@upgrade to 2.2
fix ntfs

PR:		35019
Submitted by:	Wei-chun Kao <einstein@@infor.org>
Discussed with:	rafan@@infor.org, submitter
@
text
@d14 1
@


1.5
log
@Change msdosfs directory in -current to /sys/fs/msdosfs and
/sys/modules/msdosfs.

Bump PORTREVISION.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/big5fs/Makefile,v 1.4 2001/04/12 16:43:06 keith Exp $
d9 1
a9 2
PORTVERSION=		2.1
PORTREVISION=		1
d11 1
a11 1
MASTER_SITES=		ftp://freebsd.sinica.edu.tw/pub/keith/
d23 2
a24 1
.if ${OSVERSION} > 500018
d27 5
a31 1
MSDOSFSKODIR=	${SYSDIR}/modules/msdosfs
d33 7
d43 1
a43 1
MSDOSFSKODIR=	${SYSDIR}/modules/msdos
d45 15
d72 1
a72 1
	@@${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660 ${WRKDIR}/ntfs
d77 5
a81 2
	@@${CP} -R ${NTFSDIR}/*.[ch] ${WRKDIR}/ntfs
	@@${CP} ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs/Makefile.orig
d87 1
d89 2
d92 2
a93 3
	@@(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/msdos_big5.diff )
	@@(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/cd9660_big5.diff )
	@@(cd ${WRKDIR}/ntfs; ${PATCH} --quiet < ${WRKDIR}/ntfs_big5.diff )
d98 1
d100 1
d109 1
d111 1
@


1.4
log
@Update to 2.1.

This version fixes NTFS filenames which have both Chinese and English
characters.

Submitted by:	huangant.bbs@@bbs.cs.ntou.edu.tw (author of the ntfs patch)
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/big5fs/Makefile,v 1.3 2001/03/28 17:44:25 keith Exp $
d10 1
d20 15
d47 2
a48 2
	@@${CP} -R ${SYSDIR}/msdosfs/*.[ch] ${WRKDIR}/msdos
	@@${CP} ${SYSDIR}/modules/msdos/Makefile ${WRKDIR}/msdos/Makefile.orig
d51 1
a51 1
	@@${CP} -R ${SYSDIR}/ntfs/*.[ch] ${WRKDIR}/ntfs
d74 3
a76 3
	@@${INSTALL_SCRIPT} ${WRKDIR}/msdos/msdos.ko ${KMODDIR}/big5msdos.ko
	@@${INSTALL_SCRIPT} ${WRKDIR}/cd9660/cd9660.ko ${KMODDIR}/big5cd9660.ko
	@@${INSTALL_SCRIPT} ${WRKDIR}/ntfs/ntfs.ko ${KMODDIR}/big5ntfs.ko
d78 1
a78 1
.include <bsd.port.mk>
@


1.3
log
@Add another kernel module:	big5ntfs.ko

This kernel module lets users read BIG5 filenames on an NTFS.  The author
is <huangant.bbs@@bbs.cs.ntou.edu.tw>.  The original patch is located at:
http://www.cis.nctu.edu.tw/~gis89501/bsd/ntfs/chinese_ntfs-4.3b2-ro.patch
It is slightly modified to accomodate port building.

It was tested on 4.3-BETA with Windows 2000 by the author, and 5.0-CURRENT
by me (also with 2000).
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/big5fs/Makefile,v 1.2 2000/11/06 18:14:40 keith Exp $
d9 1
a9 1
PORTVERSION=		2.0
@


1.2
log
@Change keith@@freebsd.sinica.edu.tw to keith@@FreeBSD.org
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/big5fs/Makefile,v 1.1 2000/10/20 15:31:06 kevlo Exp $
d9 1
a9 1
PORTVERSION=		1.0
d30 1
a30 1
	@@${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660
d35 2
d43 4
a46 2
	@@(cd ${WRKDIR}/msdos; ${PATCH} < ${WRKDIR}/VFATBig5.diff )
	@@(cd ${WRKDIR}/cd9660; ${PATCH} < ${WRKDIR}/JolietBig5.diff )
d51 1
d60 1
@


1.1
log
@Import big5fs-1.0
big5fs reads Big5 filenames on Joliet and VFAT filesystems.

PR: 22146
Submitted by: Jing-Tang Keith Jang <keith@@freebsd.sinica.edu.tw>
@
text
@d3 1
a3 1
# Whom:                 keith@@freebsd.sinica.edu.tw
d5 1
a5 1
# $FreeBSD$
d13 1
a13 1
MAINTAINER=		keith@@freebsd.sinica.edu.tw
@

