aboutsummaryrefslogtreecommitdiff
path: root/japanese/less/Makefile
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/Makefile
parent7da30feef53a9ad05a003ebbe876f77984694328 (diff)
downloadports-801485421544bab317ef715937b7e50d44176b8c.tar.gz
ports-801485421544bab317ef715937b7e50d44176b8c.zip
Notes
Diffstat (limited to 'japanese/less/Makefile')
-rw-r--r--japanese/less/Makefile29
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}