summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-19 23:47:02 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-19 23:47:02 +0000
commitf632bb8aa353eda82ba67bd5543234707f055724 (patch)
treee5c607bbe20a213bfd27e9b90c971429cfcfc0af /net
parentRelease this port, as I no longer have a real Airport anymore. (diff)
Uphold hier(7): install user daemons under sbin rather than bin
Notes
Notes: svn path=/head/; revision=50231
Diffstat (limited to 'net')
-rw-r--r--net/gift/files/patch-src:Makefile.in47
-rw-r--r--net/gift/pkg-plist2
2 files changed, 48 insertions, 1 deletions
diff --git a/net/gift/files/patch-src:Makefile.in b/net/gift/files/patch-src:Makefile.in
new file mode 100644
index 000000000000..3903fc4c84f7
--- /dev/null
+++ b/net/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/gift/pkg-plist b/net/gift/pkg-plist
index 48be0f805679..783e5c7b0a97 100644
--- a/net/gift/pkg-plist
+++ b/net/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