aboutsummaryrefslogtreecommitdiff
path: root/japanese/less
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-03-28 06:21:05 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-03-28 06:21:05 +0000
commit801485421544bab317ef715937b7e50d44176b8c (patch)
tree756864afe1ce0516f9fa51f4a065b9285362e37c /japanese/less
parent7da30feef53a9ad05a003ebbe876f77984694328 (diff)
downloadports-801485421544bab317ef715937b7e50d44176b8c.tar.gz
ports-801485421544bab317ef715937b7e50d44176b8c.zip
Reviewed by:
Submitted by: Obtained from:
Notes
Notes: svn path=/head/; revision=1224
Diffstat (limited to 'japanese/less')
-rw-r--r--japanese/less/Makefile29
-rw-r--r--japanese/less/distinfo2
2 files changed, 4 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}
diff --git a/japanese/less/distinfo b/japanese/less/distinfo
index f02b53cbba1c..7ba3abb68ae2 100644
--- a/japanese/less/distinfo
+++ b/japanese/less/distinfo
@@ -1 +1,3 @@
MD5 (less-237.tar.gz) = 87f1a7cee4a7e14714976771879ddb18
+MD5 (less-237-iso2022-patch2.gz) = 49eb65ff8b89673a2625e90ae85df58f
+MD5 (less-237-iso2022-patch2.p1.gz) = 9d49c98fdc2a70cb7b1fc4df9cde3395