aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-11-20 07:47:02 +0800
committerlioux <lioux@FreeBSD.org>2001-11-20 07:47:02 +0800
commit45a26d44b002c39a91a02fe190b181cc2dbe1f1c (patch)
tree98737bfb6047e887182c866aa286304fd1d62e5e /net-p2p
parent86ac995a7bdea4cc3c91aaf6ad4bb8d096be9c63 (diff)
downloadfreebsd-ports-gnome-45a26d44b002c39a91a02fe190b181cc2dbe1f1c.tar.gz
freebsd-ports-gnome-45a26d44b002c39a91a02fe190b181cc2dbe1f1c.tar.zst
freebsd-ports-gnome-45a26d44b002c39a91a02fe190b181cc2dbe1f1c.zip
Uphold hier(7): install user daemons under sbin rather than bin
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gift/files/patch-src:Makefile.in47
-rw-r--r--net-p2p/gift/pkg-plist2
2 files changed, 48 insertions, 1 deletions
diff --git a/net-p2p/gift/files/patch-src:Makefile.in b/net-p2p/gift/files/patch-src:Makefile.in
new file mode 100644
index 000000000000..3903fc4c84f7
--- /dev/null
+++ b/net-p2p/gift/files/patch-src:Makefile.in
@@ -0,0 +1,47 @@
+--- src/Makefile.in.orig Thu Sep 27 13:11:51 2001
++++ src/Makefile.in Mon Nov 19 21:43:46 2001
+@@ -65,7 +65,8 @@
+
+ AM_CFLAGS = -Wall
+
+-bin_PROGRAMS = giFT giFTget
++bin_PROGRAMS = giFTget
++sbin_PROGRAMS = giFT
+
+ LDADD = ../lib/libgiFT.a
+ INCLUDES = -I../lib
+@@ -78,7 +79,7 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+-PROGRAMS = $(bin_PROGRAMS)
++PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
+
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+@@ -137,6 +138,16 @@
+ else :; fi; \
+ done
+
++install-sbinPROGRAMS: $(sbin_PROGRAMS)
++ @$(NORMAL_INSTALL)
++ $(mkinstalldirs) $(DESTDIR)$(sbindir)
++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
++ if test -f $$p; then \
++ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
++ else :; fi; \
++ done
++
+ uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ list='$(bin_PROGRAMS)'; for p in $$list; do \
+@@ -230,7 +241,7 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
++install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
+ install-exec: install-exec-am
+
+ install-data-am:
diff --git a/net-p2p/gift/pkg-plist b/net-p2p/gift/pkg-plist
index 48be0f805679..783e5c7b0a97 100644
--- a/net-p2p/gift/pkg-plist
+++ b/net-p2p/gift/pkg-plist
@@ -1,4 +1,3 @@
-bin/giFT
bin/giFTget
include/giFT/giFT.h
include/giFT/giFTbuffer.h
@@ -12,6 +11,7 @@ include/giFT/giFTpacket.h
include/giFT/giFTproto.h
include/giFT/giFTshare.h
lib/libgiFT.a
+sbin/giFT
%%PORTDOCS%%share/doc/giFT/AUTHORS
%%PORTDOCS%%share/doc/giFT/COPYING
%%PORTDOCS%%share/doc/giFT/ChangeLog