summaryrefslogtreecommitdiff
path: root/chinese/gbfs
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 16:29:50 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 16:29:50 +0000
commitfdd42e60fb972faf2f4c8e93e4e502ef94e0f429 (patch)
tree7d02ce32fa34eb1cff2b27877f8809855bb7b488 /chinese/gbfs
parento add dvipdfm/base/ files. (diff)
update to 1.1
PR: 53707 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=83597
Diffstat (limited to '')
-rw-r--r--chinese/gbfs/Makefile23
-rw-r--r--chinese/gbfs/distinfo2
2 files changed, 10 insertions, 15 deletions
diff --git a/chinese/gbfs/Makefile b/chinese/gbfs/Makefile
index a5f31fc2f555..a5dbb6ab8ba3 100644
--- a/chinese/gbfs/Makefile
+++ b/chinese/gbfs/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gbfs
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= chinese
-MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/gbfs/ \
- ftp://ftp.gnuchina.org/incoming/zhBSD/
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/gbfs/
MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= Reads GB2312 filenames on Joliet and VFAT filesystems
@@ -22,22 +21,18 @@ PLIST_SUB= MSDOSFSKO=${MSDOSFSKO}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500027
+.if ${OSVERSION} >= 500000
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
-.elif ${OSVERSION} <= 500018 && ${OSVERSION} < 440001
-MSDOSFSDIR= ${SYSDIR}/msdosfs
-MSDOSFSKO= msdos.ko
-MSDOSFSKODIR= ${SYSDIR}/modules/msdos
+MSDOSFSPATCH= msdosfs.diff.5
+CD9660PATCH= cd9660.diff.5
.else
MSDOSFSDIR= ${SYSDIR}/msdosfs
MSDOSFSKO= msdos.ko
MSDOSFSKODIR= ${SYSDIR}/modules/msdos
+MSDOSFSPATCH= msdosfs.diff
+CD9660PATCH= cd9660.diff
.endif
pre-extract:
@@ -59,9 +54,9 @@ do-extract:
@${SED} -e 's,@@PREFIX@@,${PREFIX},' ${FILESDIR}/gbfs.sh > ${WRKDIR}/gbfs.sh
do-patch:
- (cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/msdosfs.diff )
+ (cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/${MSDOSFSPATCH} )
@${SED} -e "/^\.PATH/d" ${WRKDIR}/msdos/Makefile.ori > ${WRKDIR}/msdos/Makefile
- (cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/cd9660.diff )
+ (cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/${CD9660PATCH} )
@${SED} -e "/^\.PATH/d" ${WRKDIR}/cd9660/Makefile.ori > ${WRKDIR}/cd9660/Makefile
do-build:
diff --git a/chinese/gbfs/distinfo b/chinese/gbfs/distinfo
index aac1d7efb27f..84bebb3b190f 100644
--- a/chinese/gbfs/distinfo
+++ b/chinese/gbfs/distinfo
@@ -1 +1 @@
-MD5 (gbfs-1.0.tar.gz) = 21c261a7158b0a82e2bdf3d8e3b37d09
+MD5 (gbfs-1.1.tar.gz) = 4e3c765d052062edeb42446147536f31