###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
PKG_NAME = less
PKG_VER = 418
+PKG_REL = 0
THISAPP = $(PKG_NAME)-$(PKG_VER)
DL_FILE = $(THISAPP).tar.gz
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+MAINTAINER =
+GROUP = Applications/Text
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = http://www.greenwoodsoftware.com/less/
+LICENSE = GPLv3+
+SHORT_DESC = A text file browser similar to more, but better.
+
+define LONG_DESC
+ The less utility is a text file browser that resembles more, but has \
+ more capabilities. Less allows you to move backwards in the file as \
+ well as forwards. Since less doesn't have to read the entire input file \
+ before it starts, less starts up more quickly than text editors (for \
+ example, vi).
+endef
+
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
-install : $(OBJECT)
+download: $(objects)
+
+info:
+ $(DO_PKG_INFO)
+
+install: $(OBJECT)
-download : $(objects)
+package:
+ @$(DO_PACKAGE)
-$(objects) :
+$(objects):
@$(LOAD)
###############################################################################
# Installation Details
###############################################################################
-$(OBJECT) :
+$(OBJECT): $(objects)
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && \
./configure \
$(CONFIGURE_ARCH) \