diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-26 17:09:39 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-26 17:09:39 +0000 |
commit | 1a8eaf9e5498eb4e1c9cdf28b01da60257c6e5ac (patch) | |
tree | a62fb05fd49f70b779320659903ca0f781e411c2 /chinese | |
parent | c8cab0287a4332d34865d1ab950b1841cd90bc2a (diff) | |
download | ports-1a8eaf9e5498eb4e1c9cdf28b01da60257c6e5ac.tar.gz ports-1a8eaf9e5498eb4e1c9cdf28b01da60257c6e5ac.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/gbfs/Makefile | 27 | ||||
-rw-r--r-- | chinese/gbfs/files/gbfs.sh | 2 |
2 files changed, 15 insertions, 14 deletions
diff --git a/chinese/gbfs/Makefile b/chinese/gbfs/Makefile index 37217e793196..f6d717aad6f7 100644 --- a/chinese/gbfs/Makefile +++ b/chinese/gbfs/Makefile @@ -19,6 +19,7 @@ SYSDIR= /usr/src/sys KMODDIR= ${PREFIX}/modules PLIST_SUB= MSDOSFSKO=${MSDOSFSKO} USE_REINPLACE= yes +NO_WRKSUBDIR= yes .include <bsd.port.pre.mk> @@ -45,26 +46,26 @@ IGNORE= "You need to extract kernel source tree before you build this package" .endif do-extract: - @${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 + @${MKDIR} ${WRKSRC}/msdos ${WRKSRC}/cd9660 ${WRKSRC}/ntfs + @${CP} ${MSDOSFSDIR}/* ${MSDOSFSKODIR}/Makefile ${WRKSRC}/msdos + @${CP} ${SYSDIR}/isofs/cd9660/* ${SYSDIR}/modules/cd9660/Makefile ${WRKSRC}/cd9660 + @${CP} ${NTFSDIR}/* ${SYSDIR}/modules/ntfs/Makefile ${WRKSRC}/ntfs + @(cd ${WRKSRC}; ${TAR} xzf ${DISTDIR}/${DISTFILES} ) + @${REINPLACE_CMD} -e "/^\.PATH/d" ${WRKSRC}/*/Makefile do-patch: - @(cd ${WRKDIR}/msdos; ${PATCH} --quiet < ${WRKDIR}/${MSDOSFSPATCH} ) - @(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/${CD9660PATCH} ) - @(cd ${WRKDIR}/ntfs; ${PATCH} --quiet < ${WRKDIR}/${NTFSPATCH} ) + @(cd ${WRKSRC}/msdos; ${PATCH} --quiet < ${WRKSRC}/${MSDOSFSPATCH} ) + @(cd ${WRKSRC}/cd9660; ${PATCH} --quiet < ${WRKSRC}/${CD9660PATCH} ) + @(cd ${WRKSRC}/ntfs; ${PATCH} --quiet < ${WRKSRC}/${NTFSPATCH} ) do-build: - @(cd ${WRKDIR}/msdos; make all) - @(cd ${WRKDIR}/cd9660; make all) - @(cd ${WRKDIR}/ntfs; make all) + @(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} ${WRKDIR}/*/*.ko ${KMODDIR} + @${INSTALL_SCRIPT} ${WRKSRC}/*/*.ko ${KMODDIR} .include <bsd.port.post.mk> diff --git a/chinese/gbfs/files/gbfs.sh b/chinese/gbfs/files/gbfs.sh index 10846dab4f37..2eff687f8fef 100644 --- a/chinese/gbfs/files/gbfs.sh +++ b/chinese/gbfs/files/gbfs.sh @@ -32,7 +32,7 @@ stop) kldunload -v -n ntfs && echo -n ' GB-ntfs' ;; *) - echo "Usage: gbfs.sh {start|stop}" >&2 + echo "Usage: $0 {start|stop}" >&2 exit 1 ;; esac |