summaryrefslogtreecommitdiffstats
path: root/net/rancid
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-09 02:19:36 +0000
committeredwin <edwin@FreeBSD.org>2002-11-09 02:19:36 +0000
commitc09c17a01aaf1a31ef05eeda1e834f6732e4c05e (patch)
treef4587284259dbc2219aff013900c0be73ee184d2 /net/rancid
parent17da773f52970eaac7bd197e685ce989494a533d (diff)
downloadFreeBSD-ports-c09c17a01aaf1a31ef05eeda1e834f6732e4c05e.zip
FreeBSD-ports-c09c17a01aaf1a31ef05eeda1e834f6732e4c05e.tar.gz
Fix package building and install sample config files
PR: ports/43385 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Diffstat (limited to 'net/rancid')
-rw-r--r--net/rancid/Makefile1
-rw-r--r--net/rancid/files/patch-bin::Makefile.in17
-rw-r--r--net/rancid/files/patch-util::lg::Makefile.in41
3 files changed, 42 insertions, 17 deletions
diff --git a/net/rancid/Makefile b/net/rancid/Makefile
index 319d10e..d137411 100644
--- a/net/rancid/Makefile
+++ b/net/rancid/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rancid
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
diff --git a/net/rancid/files/patch-bin::Makefile.in b/net/rancid/files/patch-bin::Makefile.in
new file mode 100644
index 0000000..33df59b
--- /dev/null
+++ b/net/rancid/files/patch-bin::Makefile.in
@@ -0,0 +1,17 @@
+--- bin/Makefile.in.orig Thu Sep 26 10:46:33 2002
++++ bin/Makefile.in Thu Sep 26 10:47:14 2002
+@@ -375,13 +375,7 @@
+ for prog in $(BIN_PROGS) ; do \
+ $(INSTALL) $$prog $(bindir); \
+ done; \
+- if test -f $(bindir)/env ; then \
+- echo "WARNING: *** $(bindir)/env exists: installing as env.new."; \
+- echo " *** review env.new for new/deprecated switches"; \
+- $(INSTALL_DATA) env $(bindir)/env.new; \
+- else \
+- $(INSTALL_DATA) env $(bindir); \
+- fi
++ $(INSTALL_DATA) env $(bindir)/env.new
+ # BIN_DATAS are empty at the moment.
+ # for prog in $(BIN_DATAS) ; do \
+ # $(INSTALL_DATA) $$prog $(PREFIX)/bin; \
diff --git a/net/rancid/files/patch-util::lg::Makefile.in b/net/rancid/files/patch-util::lg::Makefile.in
index ed113c7..45406ea 100644
--- a/net/rancid/files/patch-util::lg::Makefile.in
+++ b/net/rancid/files/patch-util::lg::Makefile.in
@@ -1,17 +1,24 @@
-*** util/lg/Makefile.in.orig Mon Jun 3 14:14:33 2002
---- util/lg/Makefile.in Mon Jun 3 14:14:51 2002
-***************
-*** 1,6 ****
- PREFIX = @prefix@
-
-! INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
-
- UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
---- 1,6 ----
- PREFIX = @prefix@
-
-! INSTALL = @INSTALL_SCRIPT@
- INSTALL_DATA = @INSTALL_DATA@
-
- UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
+--- util/lg/Makefile.in.orig Fri Aug 9 23:59:06 2002
++++ util/lg/Makefile.in Thu Sep 26 10:54:50 2002
+@@ -1,6 +1,6 @@
+ PREFIX = @prefix@
+
+-INSTALL = @INSTALL@
++INSTALL = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
+@@ -13,13 +13,7 @@
+ for file in $(UTIL_LG_PROGS) ; do \
+ $(INSTALL) $$file $(PREFIX)/util/lg; \
+ done; \
+- if test -f $(PREFIX)/util/lg/lg.conf ; then \
+- echo "WARNING: *** $(PREFIX)/util/lg/lg.conf exists: installing as lg.conf.new."; \
+- echo " *** review lg.conf.new for new/deprecated switches"; \
+ $(INSTALL_DATA) lg.conf $(PREFIX)/util/lg/lg.conf.new; \
+- else \
+- $(INSTALL_DATA) lg.conf $(PREFIX)/util/lg; \
+- fi; \
+ for file in *README* *.html; do \
+ $(INSTALL_DATA) $$file $(PREFIX)/util/lg; \
+ done
OpenPOWER on IntegriCloud