From 51894f5bd4b2d2cf808ab895e957ff7648431a3e Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 10 May 2001 20:51:51 +0000 Subject: [PATCH] Install binary and a manual page as a "gtk-theme-switch", not just "switch" to avoid clashing with sh(1) builtin. Submitted by: Tobias Reifenberger --- x11/gtk-theme-switch/Makefile | 3 ++- x11/gtk-theme-switch/files/patch-aa | 4 ++-- x11/gtk-theme-switch/pkg-plist | 2 +- x11/gtk-theme-switch2/Makefile | 3 ++- x11/gtk-theme-switch2/files/patch-aa | 4 ++-- x11/gtk-theme-switch2/pkg-plist | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/x11/gtk-theme-switch/Makefile b/x11/gtk-theme-switch/Makefile index b6d87dd3d405..05596345f00a 100644 --- a/x11/gtk-theme-switch/Makefile +++ b/x11/gtk-theme-switch/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk-theme-switch PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.muhri.net/ @@ -16,7 +17,7 @@ USE_X_PREFIX= yes USE_GTK= yes USE_GMAKE= yes -MAN1= switch.1 +MAN1= gtk-theme-switch.1 .if !defined(NOPORTDOCS) post-install: diff --git a/x11/gtk-theme-switch/files/patch-aa b/x11/gtk-theme-switch/files/patch-aa index 04632c818d87..c8e6569c3131 100644 --- a/x11/gtk-theme-switch/files/patch-aa +++ b/x11/gtk-theme-switch/files/patch-aa @@ -26,8 +26,8 @@ $FreeBSD$ - install -c switch ${PREFIX}/bin - install -c switch.1 ${PREFIX}/man + mkdir -p ${PREFIX}/man/man1 -+ $(BSD_INSTALL_PROGRAM) switch ${PREFIX}/bin -+ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1 ++ $(BSD_INSTALL_PROGRAM) switch ${PREFIX}/bin/gtk-theme-switch ++ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1/gtk-theme-switch.1 dist: clean rm -rf /tmp/gtk-theme-switch-$(VERSION) diff --git a/x11/gtk-theme-switch/pkg-plist b/x11/gtk-theme-switch/pkg-plist index be535c6e7b5a..ee0e4a7fd809 100644 --- a/x11/gtk-theme-switch/pkg-plist +++ b/x11/gtk-theme-switch/pkg-plist @@ -1,3 +1,3 @@ -bin/switch +bin/gtk-theme-switch share/gtk-theme-switch/README @dirrm share/gtk-theme-switch diff --git a/x11/gtk-theme-switch2/Makefile b/x11/gtk-theme-switch2/Makefile index b6d87dd3d405..05596345f00a 100644 --- a/x11/gtk-theme-switch2/Makefile +++ b/x11/gtk-theme-switch2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk-theme-switch PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.muhri.net/ @@ -16,7 +17,7 @@ USE_X_PREFIX= yes USE_GTK= yes USE_GMAKE= yes -MAN1= switch.1 +MAN1= gtk-theme-switch.1 .if !defined(NOPORTDOCS) post-install: diff --git a/x11/gtk-theme-switch2/files/patch-aa b/x11/gtk-theme-switch2/files/patch-aa index 04632c818d87..c8e6569c3131 100644 --- a/x11/gtk-theme-switch2/files/patch-aa +++ b/x11/gtk-theme-switch2/files/patch-aa @@ -26,8 +26,8 @@ $FreeBSD$ - install -c switch ${PREFIX}/bin - install -c switch.1 ${PREFIX}/man + mkdir -p ${PREFIX}/man/man1 -+ $(BSD_INSTALL_PROGRAM) switch ${PREFIX}/bin -+ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1 ++ $(BSD_INSTALL_PROGRAM) switch ${PREFIX}/bin/gtk-theme-switch ++ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1/gtk-theme-switch.1 dist: clean rm -rf /tmp/gtk-theme-switch-$(VERSION) diff --git a/x11/gtk-theme-switch2/pkg-plist b/x11/gtk-theme-switch2/pkg-plist index be535c6e7b5a..ee0e4a7fd809 100644 --- a/x11/gtk-theme-switch2/pkg-plist +++ b/x11/gtk-theme-switch2/pkg-plist @@ -1,3 +1,3 @@ -bin/switch +bin/gtk-theme-switch share/gtk-theme-switch/README @dirrm share/gtk-theme-switch