Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add less

  • Loading branch information...
commit 993cbe914ef28da36a839e82788c0b49605dcc76 1 parent e67942f
@JohnSonnenschein JohnSonnenschein authored
View
2  Makefile
@@ -26,7 +26,7 @@
PATH=/sbin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin
BASE=$(PWD)
DESTDIR=$(BASE)/proto
-SUBDIRS= bash bzip2 curl gtar gzip libexpat libm libxml libz ncurses node.js nss-nspr openssl rsync vim wget
+SUBDIRS= bash bzip2 curl gtar gzip less libexpat libm libxml libz ncurses node.js nss-nspr openssl rsync vim wget
-include Makefile.inc
View
46 less/Makefile
@@ -0,0 +1,46 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at COPYING
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at COPYING.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2010 Joyent Inc.
+#
+
+
+VER=less-436
+BASE=$(PWD)
+DESTDIR=$(BASE)/../proto
+
+all: $(VER)/config.status
+ ( cd $(VER); \
+ gmake CC=$(GCC))
+
+install:
+ mkdir -p $(DESTDIR)
+ ( cd $(VER); \
+ gmake CC=/usr/bin/gcc DESTDIR=$(DESTDIR) install)
+
+clean:
+ rm -rf $(VER)
+
+$(VER)/config.status: $(VER)/configure
+ (cd $(VER); ./configure --prefix=/usr)
+
+$(VER)/configure: $(VER).tar.gz
+ gtar -zxf $(VER).tar.gz
+ touch $(VER)/configure
View
BIN  less/less-436.tar.gz
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.