diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-11 04:51:51 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-11 04:51:51 +0800 |
commit | c181e09471e5c813b88b5b938c18ccdc3082b249 (patch) | |
tree | 5ec052987ba858774ba78201cb1aaaccd56b4be8 /x11/gtk-theme-switch2 | |
parent | a92ac917b8504dab8aa7b7e57f737a6e4f9d81f5 (diff) | |
download | freebsd-ports-graphics-c181e09471e5c813b88b5b938c18ccdc3082b249.tar.gz freebsd-ports-graphics-c181e09471e5c813b88b5b938c18ccdc3082b249.tar.zst freebsd-ports-graphics-c181e09471e5c813b88b5b938c18ccdc3082b249.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>
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 b6d87dd3d40..05596345f00 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 04632c818d8..c8e6569c313 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 be535c6e7b5..ee0e4a7fd80 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 |