1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/gateway6/files/patch-tspc-advanced.Makfile
Martin Wilke 6fcd164d4d - Update to 6.0
- Update WWW/Description

PR:		140685
Submitted by:	Michael Scholz <mike@fth-devel.net> (maintainer)
2009-11-20 21:14:24 +00:00

34 lines
1.0 KiB
Plaintext

--- tspc-advanced/Makefile.orig 2009-05-19 18:51:11.000000000 +0200
+++ tspc-advanced/Makefile 2009-11-18 21:57:54.000000000 +0100
@@ -46,11 +46,12 @@
SUPPORTED_PLATFORMS=linux netbsd freebsd openbsd darwin sunos dongle6
INSTALL_DIR :=$(installdir)
INSTALL_BIN :=$(INSTALL_DIR)/bin
INSTALL_MAN :=$(INSTALL_DIR)/man
-INSTALL_TEMPL :=$(INSTALL_DIR)/template
+INSTALL_TEMPL :=$(INSTALL_DIR)/share/gateway6
+INSTALL_ETC :=$(INSTALL_DIR)/etc
SUBDIRS=$(PWD)/src/lib \
$(PWD)/src/net \
$(PWD)/src/tsp \
@@ -172,13 +173,13 @@
@for dir in ${SUBDIRS}; do \
$(MAKE) -C $$dir install || exit 1; \
done
@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; \
+ @cp $(BIN_DIR)/gw6c.conf.sample $(INSTALL_ETC)
+ @[ -f $(INSTALL_ETC)/gw6c.conf ] || { \
+ cp $(INSTALL_ETC)/gw6c.conf.sample $(INSTALL_ETC)/gw6c.conf; \
}
# This makefile target will clean the build tree of the Gateway6 Client.
#