1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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>
This commit is contained in:
Maxim Sobolev 2001-05-10 20:51:51 +00:00
parent a679ab2be7
commit 51894f5bd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42508
6 changed files with 10 additions and 8 deletions

View File

@ -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:

View File

@ -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)

View File

@ -1,3 +1,3 @@
bin/switch
bin/gtk-theme-switch
share/gtk-theme-switch/README
@dirrm share/gtk-theme-switch

View File

@ -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:

View File

@ -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)

View File

@ -1,3 +1,3 @@
bin/switch
bin/gtk-theme-switch
share/gtk-theme-switch/README
@dirrm share/gtk-theme-switch