Stagify.
Approved by: portmgr@
This commit is contained in:
parent
5644e03da5
commit
6eb8b2f379
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356731
3 changed files with 37 additions and 2 deletions
|
@ -13,9 +13,7 @@ COMMENT= Automatically restart SSH sessions and tunnels
|
|||
GNU_CONFIGURE= yes
|
||||
|
||||
PORTDOCS= CHANGES README
|
||||
MAN1= autossh.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE}.in
|
||||
@${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE}.in
|
||||
|
|
36
security/autossh/files/patch-Makefile.in
Normal file
36
security/autossh/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,36 @@
|
|||
--- Makefile.in.orig 2014-06-06 09:42:44.484826074 +0800
|
||||
+++ Makefile.in 2014-06-06 09:43:35.132824906 +0800
|
||||
@@ -45,18 +45,18 @@ distclean: allclean
|
||||
- /bin/rm -f Makefile
|
||||
|
||||
install: $(TARGET)
|
||||
- mkdir -p -m 755 $(bindir)
|
||||
- mkdir -p -m 755 $(prefix)/share/doc/autossh
|
||||
- mkdir -p -m 755 $(datadir)/examples/autossh
|
||||
- mkdir -p -m 755 $(mandir)/man1
|
||||
- cp $(TARGET) $(bindir)
|
||||
- cp CHANGES README $(datadir)/doc/autossh
|
||||
- cp autossh.host $(datadir)/examples/autossh
|
||||
- cp rscreen $(datadir)/examples/autossh
|
||||
- cp autossh.1 $(mandir)/man1
|
||||
- chmod 755 $(bindir)/$(TARGET)
|
||||
- chmod 644 $(datadir)/doc/autossh/CHANGES
|
||||
- chmod 644 $(datadir)/doc/autossh/README
|
||||
- chmod 644 $(datadir)/examples/autossh/autossh.host
|
||||
- chmod 644 $(datadir)/examples/autossh/rscreen
|
||||
- chmod 644 $(mandir)/man1/autossh.1
|
||||
+ mkdir -p -m 755 $(DESTDIR)$(bindir)
|
||||
+ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
|
||||
+ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
|
||||
+ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
|
||||
+ cp $(TARGET) $(DESTDIR)$(bindir)
|
||||
+ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
|
||||
+ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
|
||||
+ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
|
||||
+ cp autossh.1 $(DESTDIR)$(mandir)/man1
|
||||
+ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
|
||||
+ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
|
||||
+ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
|
||||
+ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
|
||||
+ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
|
||||
+ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
|
|
@ -1,4 +1,5 @@
|
|||
bin/autossh
|
||||
man/man1/autossh.1.gz
|
||||
%%EXAMPLESDIR%%/autossh.host
|
||||
%%EXAMPLESDIR%%/rscreen
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
|
|
Loading…
Reference in a new issue