head	1.16;
access;
symbols
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2007.03.14.10.28.18;	author miwi;	state dead;
branches;
next	1.15;

1.15
date	2007.02.14.06.45.34;	author rafan;	state Exp;
branches;
next	1.14;

1.14
date	2007.01.13.00.25.27;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2006.05.03.23.38.31;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.25.21.58.06;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2005.01.08.15.50.01;	author sem;	state Exp;
branches;
next	1.10;

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

1.9
date	2004.04.10.17.26.30;	author trevor;	state Exp;
branches;
next	1.8;

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

1.7
date	2003.07.31.01.45.07;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.27.06.21.12;	author leeym;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.26.17.09.39;	author leeym;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.26.09.43.58;	author leeym;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.25.16.29.50;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.21.11.06.28;	author knu;	state Exp;
branches;
next	1.1;

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


desc
@@


1.16
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-gbfs
# Date created:         Oct 13, 2000
# Whom:                 statue@@freebsd.sinica.edu.tw
#
# $FreeBSD: ports/chinese/gbfs/Makefile,v 1.15 2007/02/14 06:45:34 rafan Exp $
#

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

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Reads GB2312 filenames on Joliet and VFAT filesystems

NO_PACKAGE=	"Different versions definitely cause crash"

SYSDIR=		/usr/src/sys
KMODDIR=	${PREFIX}/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
MSDOSFSDIR=	${SYSDIR}/fs/msdosfs
MSDOSFSKO=	msdosfs.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdosfs
MSDOSFSPATCH=	msdosfs.diff.5
CD9660PATCH=	cd9660.diff.5
NTFSDIR=	${SYSDIR}/fs/ntfs
NTFSPATCH=	ntfs.diff.5
BROKEN=		"fails to patch - Included patches are broken"
.else
MSDOSFSDIR=	${SYSDIR}/msdosfs
MSDOSFSKO=	msdos.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdos
MSDOSFSPATCH=	msdosfs.diff
CD9660PATCH=	cd9660.diff
NTFSDIR=	${SYSDIR}/ntfs
NTFSPATCH=	ntfs.diff
.endif

.if !exists (${SYSDIR})
IGNORE=	"You 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

do-patch:
	@@(cd ${WRKSRC}/msdos; ${PATCH} --quiet < ${WRKSRC}/${MSDOSFSPATCH} )
	@@(cd ${WRKSRC}/cd9660; ${PATCH} --quiet < ${WRKSRC}/${CD9660PATCH} )
	@@(cd ${WRKSRC}/ntfs; ${PATCH} --quiet < ${WRKSRC}/${NTFSPATCH} )

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

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

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


1.15
log
@- It has been broken for 2+ years. Mark it deprecated and scheduled to be
  removed in one month.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@make BROKEN reason more detailed
@
text
@d23 3
@


1.13
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d33 1
a33 1
BROKEN=		"fails to patch"
@


1.12
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.11
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.10
log
@BROKEN on 5.x: fails to patch
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.9
log
@Tidy up whitespace.
@
text
@d34 1
@


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
@d45 1
a45 1
IGNORE= "You need to extract kernel source tree before you build this package"
@


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


1.6
log
@update to 1.4

PR:		53794
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d50 3
a52 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.5
log
@add NO_WRKSUBDIR and replace WRKDIR with WRKSRC
@
text
@d9 1
a9 1
PORTVERSION=	1.3
@


1.4
log
@+ update to gbfs-1.3
+ add NTFS support
+ refine Makefile and gbfs.sh

PR:		53731
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d22 1
d49 6
a54 6
	@@${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660 ${WRKDIR}/ntfs
	@@${CP} ${MSDOSFSDIR}/* ${MSDOSFSKODIR}/Makefile ${WRKDIR}/msdos
	@@${CP} ${SYSDIR}/isofs/cd9660/* ${SYSDIR}/modules/cd9660/Makefile ${WRKDIR}/cd9660
	@@${CP} ${NTFSDIR}/* ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs
	@@(cd ${WRKDIR}; ${TAR} xzf ${DISTDIR}/${DISTFILES} )
	@@${REINPLACE_CMD} -e "/^\.PATH/d" ${WRKDIR}/*/Makefile
d57 3
a59 3
	@@(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/${MSDOSFSPATCH} )
	@@(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/${CD9660PATCH} )
	@@(cd ${WRKDIR}/ntfs; ${PATCH} --quiet < ${WRKDIR}/${NTFSPATCH} )
d62 3
a64 3
	@@(cd ${WRKDIR}/msdos; make all)
	@@(cd ${WRKDIR}/cd9660; make all)
	@@(cd ${WRKDIR}/ntfs; make all)
d69 1
a69 1
	@@${INSTALL_SCRIPT} ${WRKDIR}/*/*.ko ${KMODDIR}
@


1.3
log
@update to 1.1

PR:		53707
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d9 1
a9 1
PORTVERSION=	1.1
d21 1
d31 2
d39 2
d43 3
a45 8
pre-extract:
	@@if [ ! -d /sys -o ! -d /usr/src/sys ]; then \
		${ECHO_CMD} "****************************************" ; \
		${ECHO_CMD} " You need to extract kernel source tree" ; \
		${ECHO_CMD} " before you build this package..." ; \
		${ECHO_CMD} "****************************************" ; \
		${FALSE} ; \
	fi
d48 4
a51 5
	@@${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660
	@@${CP} -R ${MSDOSFSDIR}/*.[ch] ${WRKDIR}/msdos
	@@${CP} ${MSDOSFSKODIR}/Makefile ${WRKDIR}/msdos/Makefile.ori
	@@${CP} -R ${SYSDIR}/isofs/cd9660/*.[ch] ${WRKDIR}/cd9660
	@@${CP} ${SYSDIR}/modules/cd9660/Makefile ${WRKDIR}/cd9660/Makefile.ori
d53 1
a53 1
	@@${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},' ${FILESDIR}/gbfs.sh > ${WRKDIR}/gbfs.sh
d56 3
a58 4
	(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/${MSDOSFSPATCH} )
	@@${SED} -e "/^\.PATH/d" ${WRKDIR}/msdos/Makefile.ori > ${WRKDIR}/msdos/Makefile
	(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/${CD9660PATCH} )
	@@${SED} -e "/^\.PATH/d" ${WRKDIR}/cd9660/Makefile.ori > ${WRKDIR}/cd9660/Makefile
d63 1
d65 1
a65 1
pre-install:
d67 2
a68 5

do-install:
	@@${INSTALL_SCRIPT} ${WRKDIR}/gbfs.sh ${PREFIX}/etc/rc.d
	@@${INSTALL_SCRIPT} ${WRKDIR}/msdos/${MSDOSFSKO} ${KMODDIR}/${MSDOSFSKO}
	@@${INSTALL_SCRIPT} ${WRKDIR}/cd9660/cd9660.ko ${KMODDIR}/cd9660.ko
@


1.2
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.0
d11 1
a11 2
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/gbfs/ \
		ftp://ftp.gnuchina.org/incoming/zhBSD/
d24 1
a24 1
.if ${OSVERSION} > 500027
d28 2
a29 8
.elif ${OSVERSION} > 500018 && ${OSVERSION} < 500027
MSDOSFSDIR=	${SYSDIR}/fs/msdosfs
MSDOSFSKO=	msdosfs.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdosfs
.elif ${OSVERSION} <= 500018 && ${OSVERSION} < 440001
MSDOSFSDIR=	${SYSDIR}/msdosfs
MSDOSFSKO=	msdos.ko
MSDOSFSKODIR=	${SYSDIR}/modules/msdos
d34 2
d57 1
a57 1
	(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/msdosfs.diff )
d59 1
a59 1
	(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/cd9660.diff )
@


1.1
log
@add zh-gbfs 1.0
Reads GB2312 filenames on Joliet and VFAT filesystems

PR:		38513
Submitted by:	Statue <statue@@softwareliberty.org>
@
text
@d15 1
@

