summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/less/Makefile23
-rw-r--r--misc/less/distinfo2
-rw-r--r--sysutils/less/Makefile23
-rw-r--r--sysutils/less/distinfo2
4 files changed, 26 insertions, 24 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile
index 8636fbca3bb2..8c7b0daf7921 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -1,32 +1,33 @@
-# New ports collection makefile for: less
-# Date created: 8 Nov 1994
-# Whom: ache
+# New ports collection makefile for: less
+# Date created: 8 Nov 1994
+# Whom: ache
#
# $FreeBSD$
#
-PORTNAME= less
-PORTVERSION= 352
+PORTNAME= less
+PORTVERSION= 354
CATEGORIES= misc
-MASTER_SITES= http://home.flash.net/~marknu/less/ \
+MASTER_SITES= http://home.flash.net/~marknu/less/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= less
+MAINTAINER= ports@FreeBSD.org
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500003
-FORBIDDEN= already is in the base system
+FORBIDDEN= already is in the base system
.endif
-MAINTAINER= ports@FreeBSD.org
-
GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1
.if defined(COLOUR_LESS) || defined(COLOR_LESS)
-pre-patch:
+MAKE_ENV= CPPFLAGS="-DCOLOUR_LESS"
+
+pre-fetch:
@${ECHO_MSG} "Making a colour version of less."
-EXTRA_PATCHES= ${FILESDIR}/patch-ab
.endif
.include <bsd.port.post.mk>
diff --git a/misc/less/distinfo b/misc/less/distinfo
index 460c25d36bd3..cda3ecbc3b03 100644
--- a/misc/less/distinfo
+++ b/misc/less/distinfo
@@ -1 +1 @@
-MD5 (less-352.tar.gz) = 726fa6004376b67213f14832b38683b4
+MD5 (less-354.tar.gz) = 48f73bdd8712c35f4e5f65ee878fd805
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
index 8636fbca3bb2..8c7b0daf7921 100644
--- a/sysutils/less/Makefile
+++ b/sysutils/less/Makefile
@@ -1,32 +1,33 @@
-# New ports collection makefile for: less
-# Date created: 8 Nov 1994
-# Whom: ache
+# New ports collection makefile for: less
+# Date created: 8 Nov 1994
+# Whom: ache
#
# $FreeBSD$
#
-PORTNAME= less
-PORTVERSION= 352
+PORTNAME= less
+PORTVERSION= 354
CATEGORIES= misc
-MASTER_SITES= http://home.flash.net/~marknu/less/ \
+MASTER_SITES= http://home.flash.net/~marknu/less/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= less
+MAINTAINER= ports@FreeBSD.org
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500003
-FORBIDDEN= already is in the base system
+FORBIDDEN= already is in the base system
.endif
-MAINTAINER= ports@FreeBSD.org
-
GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1
.if defined(COLOUR_LESS) || defined(COLOR_LESS)
-pre-patch:
+MAKE_ENV= CPPFLAGS="-DCOLOUR_LESS"
+
+pre-fetch:
@${ECHO_MSG} "Making a colour version of less."
-EXTRA_PATCHES= ${FILESDIR}/patch-ab
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/less/distinfo b/sysutils/less/distinfo
index 460c25d36bd3..cda3ecbc3b03 100644
--- a/sysutils/less/distinfo
+++ b/sysutils/less/distinfo
@@ -1 +1 @@
-MD5 (less-352.tar.gz) = 726fa6004376b67213f14832b38683b4
+MD5 (less-354.tar.gz) = 48f73bdd8712c35f4e5f65ee878fd805