Noux: 'which'

This patch adds the GNU 'which' program to the 'ports' repository.

Fixes #380.
This commit is contained in:
Christian Prochaska 2012-10-02 14:14:30 +02:00 committed by Norman Feske
parent e9ac4b653b
commit cbf401f232
2 changed files with 20 additions and 0 deletions

19
ports/ports/which.mk Normal file
View File

@ -0,0 +1,19 @@
WHICH = which-2.20
WHICH_TGZ = $(WHICH).tar.gz
WHICH_URL = http://ftp.gnu.org/gnu/which/$(WHICH_TGZ)
#
# Interface to top-level prepare Makefile
#
PORTS += $(WHICH)
prepare:: $(CONTRIB_DIR)/$(WHICH)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(WHICH_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) -O $@ $(WHICH_URL) && touch $@
$(CONTRIB_DIR)/$(WHICH): $(DOWNLOAD_DIR)/$(WHICH_TGZ)
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
# $(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/lynx/build.patch

View File

@ -0,0 +1 @@
include $(REP_DIR)/mk/noux.mk