diff options
| author | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-27 08:26:58 +0000 | 
|---|---|---|
| committer | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-27 08:26:58 +0000 | 
| commit | fc65d01d20ad7434353c465b0b462b945887c983 (patch) | |
| tree | 5eb76a95bbbc6969d6760305e122c2dc0ad0efa1 /net/freenet6/files/patch-Makefiles-etcdir.patch | |
| parent | net/turses: Update to 0.2.22 (diff) | |
- Support staging
- EXTRACT_SUFX -> USES=tar:tgz
- Use @sample for sample config and remove note to copy it
  from pkg-message
Approved by:	portmgr (blanket approval)
Notes
Notes:
    svn path=/head/; revision=359469
Diffstat (limited to '')
| -rw-r--r-- | net/freenet6/files/patch-Makefile (renamed from net/freenet6/files/patch-Makefiles-etcdir.patch) | 26 | 
1 files changed, 6 insertions, 20 deletions
| diff --git a/net/freenet6/files/patch-Makefiles-etcdir.patch b/net/freenet6/files/patch-Makefile index c74ac5bd0dba..5b2733c35166 100644 --- a/net/freenet6/files/patch-Makefiles-etcdir.patch +++ b/net/freenet6/files/patch-Makefile @@ -1,20 +1,5 @@ ---- template/Makefile.orig	2009-11-15 19:42:51.000000000 +0100 -+++ template/Makefile	2009-11-15 19:43:01.000000000 +0100 -@@ -17,8 +17,10 @@ -  - install: - 	@echo "Installing templates ..." --	@for template_var in README $(PLATFORM).sh; do \ --            cp $${template_var} $(INSTALL_TEMPL)/$${template_var}; \ -+	@for template_var in $(PLATFORM).sh; do \ -+            cp $${template_var} $(INSTALL_BIN)/gw6c-$${template_var}; \ -         done -+	@mkdir -p $(ETCDIR) -+	@cp README $(ETCDIR) -  - clean:  ---- Makefile.orig	2009-11-15 19:50:40.000000000 +0100 -+++ Makefile	2009-11-15 19:50:57.000000000 +0100 +--- ./Makefile.orig	2009-05-19 12:51:11.000000000 -0400 ++++ ./Makefile	2014-06-27 04:03:52.000000000 -0400  @@ -74,7 +74,7 @@   #   .PHONY: all platform-check check-gw6c-pal check-gw6c-config check-gw6c-messaging build-gw6c check-gw6c-install install clean cleanall @@ -61,13 +46,14 @@   	    $(MAKE) -C $$dir install || exit 1; \   	done - 	@cp $(TARGET) $(INSTALL_BIN) +-	@cp $(TARGET) $(INSTALL_BIN)  -	@cp $(BIN_DIR)/gw6c.conf.sample $(INSTALL_BIN)  -	@[ -f $(INSTALL_BIN)/gw6c.conf ] || { \  -	    cp $(INSTALL_BIN)/gw6c.conf.sample $(INSTALL_BIN)/gw6c.conf; \  -	} -+	@mkdir -p $(ETCDIR) -+	@cp $(BIN_DIR)/gw6c.conf.sample $(ETCDIR) ++	${BSD_INSTALL_PROGRAM} $(TARGET) $(INSTALL_BIN) ++	@mkdir -p $(DESTDIR)$(ETCDIR) ++	${BSD_INSTALL_DATA} $(BIN_DIR)/gw6c.conf.sample $(DESTDIR)$(ETCDIR)   # This makefile target will clean the build tree of the Gateway6 Client. | 
