diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-10 20:51:51 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-10 20:51:51 +0000 |
commit | 51894f5bd4b2d2cf808ab895e957ff7648431a3e (patch) | |
tree | bf22d1fc4df43fab2041a2ca02feff408355e269 /x11/gtk-theme-switch2 | |
parent | a679ab2be74ee228238ab741299e9fb8cd251026 (diff) | |
download | ports-51894f5bd4b2d2cf808ab895e957ff7648431a3e.tar.gz ports-51894f5bd4b2d2cf808ab895e957ff7648431a3e.zip |
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 <treif@mayn.de>
Notes
Notes:
svn path=/head/; revision=42508
Diffstat (limited to 'x11/gtk-theme-switch2')
-rw-r--r-- | x11/gtk-theme-switch2/Makefile | 3 | ||||
-rw-r--r-- | x11/gtk-theme-switch2/files/patch-aa | 4 | ||||
-rw-r--r-- | x11/gtk-theme-switch2/pkg-plist | 2 |
3 files changed, 5 insertions, 4 deletions
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 |