aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rancid-devel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-09 10:19:36 +0800
committeredwin <edwin@FreeBSD.org>2002-11-09 10:19:36 +0800
commitc09c17a01aaf1a31ef05eeda1e834f6732e4c05e (patch)
treef4587284259dbc2219aff013900c0be73ee184d2 /net-mgmt/rancid-devel
parent17da773f52970eaac7bd197e685ce989494a533d (diff)
downloadfreebsd-ports-gnome-c09c17a01aaf1a31ef05eeda1e834f6732e4c05e.tar.gz
freebsd-ports-gnome-c09c17a01aaf1a31ef05eeda1e834f6732e4c05e.tar.zst
freebsd-ports-gnome-c09c17a01aaf1a31ef05eeda1e834f6732e4c05e.zip
Fix package building and install sample config files
PR: ports/43385 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Diffstat (limited to 'net-mgmt/rancid-devel')
-rw-r--r--net-mgmt/rancid-devel/Makefile1
-rw-r--r--net-mgmt/rancid-devel/files/patch-bin::Makefile.in17
-rw-r--r--net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in41
3 files changed, 42 insertions, 17 deletions
diff --git a/net-mgmt/rancid-devel/Makefile b/net-mgmt/rancid-devel/Makefile
index 319d10e672bf..d1374110348b 100644
--- a/net-mgmt/rancid-devel/Makefile
+++ b/net-mgmt/rancid-devel/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-mgmt/rancid-devel/files/patch-bin::Makefile.in b/net-mgmt/rancid-devel/files/patch-bin::Makefile.in
new file mode 100644
index 000000000000..33df59b9cf98
--- /dev/null
+++ b/net-mgmt/rancid-devel/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-mgmt/rancid-devel/files/patch-util::lg::Makefile.in b/net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in
index ed113c7c2c95..45406eaf77f7 100644
--- a/net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in
+++ b/net-mgmt/rancid-devel/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