diff options
Diffstat (limited to 'japanese/less/Makefile')
-rw-r--r-- | japanese/less/Makefile | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/japanese/less/Makefile b/japanese/less/Makefile index abaf5a738736..ed10cc302438 100644 --- a/japanese/less/Makefile +++ b/japanese/less/Makefile @@ -11,36 +11,11 @@ MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/misc/less/ MAINTAINER= asami@FreeBSD.ORG HAS_CONFIGURE= yes WRKSRC= ${WRKDIR}/less-237 +PATCH_SITES= ftp://ftp.aist-nara.ac.jp/pub/misc/less/ PATCHFILES= less-237-iso2022-patch2.gz less-237-iso2022-patch2.p1.gz -.if !defined(MASTER_SITE_OVERRIDE) -PATCHSITE= ftp://ftp.aist-nara.ac.jp/pub/misc/less/ -.else -PATCHSITE= ${MASTER_SITE_OVERRIDE} -.endif -PREPATCH_COOKIE= ${.CURDIR}/work/.prepatch_done +PATCH_DIST_STRIP= -p1 PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done -pre-fetch: - @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @(cd ${DISTDIR}; \ - for file in ${PATCHFILES}; do \ - if [ ! -f $$file ]; then \ - echo ">> Fetching patch $$file from remote site..."; \ - ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file; \ - fi \ - done) - -pre-patch: ${PREPATCH_COOKIE} - -${PREPATCH_COOKIE}: - @echo "===> Applying ISO-2022 support patch" - @for file in ${PATCHFILES}; do \ - gzip -c -d ${DISTDIR}/$$file | patch -d ${WRKSRC} -p1 -s; \ - done - @${TOUCH} ${TOUCH_FLAGS} ${PREPATCH_COOKIE} - -pre-build: ${PREBUILD_COOKIE} - ${PREBUILD_COOKIE}: find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \; @${TOUCH} ${TOUCH_FLAGS} ${PREBUILD_COOKIE} |