aboutsummaryrefslogtreecommitdiff
path: root/chinese/big5fs/Makefile
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-28 17:44:25 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-28 17:44:25 +0000
commite3e7c12ba96cebc1b5897aeb039df0ad8ee310e1 (patch)
tree99a9ffc98828a646dfdd66bacd5e8b2a069aa958 /chinese/big5fs/Makefile
parent21dfb27757686d95068cfdfd35afbaaee8831c4b (diff)
downloadports-e3e7c12ba96cebc1b5897aeb039df0ad8ee310e1.tar.gz
ports-e3e7c12ba96cebc1b5897aeb039df0ad8ee310e1.zip
Notes
Diffstat (limited to 'chinese/big5fs/Makefile')
-rw-r--r--chinese/big5fs/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/chinese/big5fs/Makefile b/chinese/big5fs/Makefile
index a5a870d8309f..2102816b6f10 100644
--- a/chinese/big5fs/Makefile
+++ b/chinese/big5fs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= big5fs
-PORTVERSION= 1.0
+PORTVERSION= 2.0
CATEGORIES= chinese
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
@@ -27,23 +27,28 @@ pre-extract:
fi
do-extract:
- @${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660
+ @${MKDIR} ${WRKDIR}/msdos ${WRKDIR}/cd9660 ${WRKDIR}/ntfs
@${CP} -R ${SYSDIR}/msdosfs/*.[ch] ${WRKDIR}/msdos
@${CP} ${SYSDIR}/modules/msdos/Makefile ${WRKDIR}/msdos/Makefile.orig
@${CP} -R ${SYSDIR}/isofs/cd9660/*.[ch] ${WRKDIR}/cd9660
@${CP} ${SYSDIR}/modules/cd9660/Makefile ${WRKDIR}/cd9660/Makefile.orig
+ @${CP} -R ${SYSDIR}/ntfs/*.[ch] ${WRKDIR}/ntfs
+ @${CP} ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs/Makefile.orig
@(cd ${WRKDIR}; ${TAR} xzf ${DISTDIR}/${DISTFILES} )
@${SED} -e 's,@@PREFIX@@,${PREFIX},' ${FILESDIR}/big5fs.sh > ${WRKDIR}/big5fs.sh
do-patch:
@${SED} -e "/^\.PATH/d" ${WRKDIR}/msdos/Makefile.orig > ${WRKDIR}/msdos/Makefile
@${SED} -e "/^\.PATH/d" ${WRKDIR}/cd9660/Makefile.orig > ${WRKDIR}/cd9660/Makefile
- @(cd ${WRKDIR}/msdos; ${PATCH} < ${WRKDIR}/VFATBig5.diff )
- @(cd ${WRKDIR}/cd9660; ${PATCH} < ${WRKDIR}/JolietBig5.diff )
+ @${SED} -e "/^\.PATH/d" ${WRKDIR}/ntfs/Makefile.orig > ${WRKDIR}/ntfs/Makefile
+ @(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 )
do-build:
@(cd ${WRKDIR}/msdos; make all)
@(cd ${WRKDIR}/cd9660; make all)
+ @(cd ${WRKDIR}/ntfs; make all)
pre-install:
@${MKDIR} ${KMODDIR}
@@ -52,5 +57,6 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/big5fs.sh ${PREFIX}/etc/rc.d
@${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
.include <bsd.port.mk>