summaryrefslogtreecommitdiffstats
path: root/x11/gtk-theme-switch
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-10 20:51:51 +0000
committersobomax <sobomax@FreeBSD.org>2001-05-10 20:51:51 +0000
commitc181e09471e5c813b88b5b938c18ccdc3082b249 (patch)
tree5ec052987ba858774ba78201cb1aaaccd56b4be8 /x11/gtk-theme-switch
parenta92ac917b8504dab8aa7b7e57f737a6e4f9d81f5 (diff)
downloadFreeBSD-ports-c181e09471e5c813b88b5b938c18ccdc3082b249.zip
FreeBSD-ports-c181e09471e5c813b88b5b938c18ccdc3082b249.tar.gz
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-switch')
-rw-r--r--x11/gtk-theme-switch/Makefile3
-rw-r--r--x11/gtk-theme-switch/files/patch-aa4
-rw-r--r--x11/gtk-theme-switch/pkg-plist2
3 files changed, 5 insertions, 4 deletions
diff --git a/x11/gtk-theme-switch/Makefile b/x11/gtk-theme-switch/Makefile
index b6d87dd..0559634 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 04632c8..c8e6569 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 be535c6..ee0e4a7 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
OpenPOWER on IntegriCloud