aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/less
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-03-28 14:21:05 +0800
committerasami <asami@FreeBSD.org>1995-03-28 14:21:05 +0800
commit8c3c0609fee209f4e3cf331293d29bdd627d8435 (patch)
tree4646ca8e181e71993c56acb624a9dd722ac40d15 /japanese/less
parentb86b559ef10362e608d76eda27e8fc554b2c18c3 (diff)
downloadfreebsd-ports-gnome-8c3c0609fee209f4e3cf331293d29bdd627d8435.tar.gz
freebsd-ports-gnome-8c3c0609fee209f4e3cf331293d29bdd627d8435.tar.zst
freebsd-ports-gnome-8c3c0609fee209f4e3cf331293d29bdd627d8435.zip
Reviewed by:
Submitted by: Obtained from:
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